Fixed buttons on settings page

This commit is contained in:
Edward Firmo
2023-09-04 12:23:46 +02:00
parent c2ecffd775
commit d3098a7f40

View File

@@ -805,7 +805,7 @@ binary_sensor:
- name: ${device_name} Restart - name: ${device_name} Restart
platform: nextion platform: nextion
page_id: 7 page_id: 7
component_id: 11 component_id: 9
internal: true internal: true
on_click: on_click:
- button.press: restart_nspanel - button.press: restart_nspanel
@@ -823,7 +823,7 @@ binary_sensor:
- name: ${device_name} Sleep mode - name: ${device_name} Sleep mode
platform: nextion platform: nextion
page_id: 7 page_id: 7
component_id: 12 component_id: 10
internal: true internal: true
on_click: on_click:
- logger.log: "Sleep mode - Nextion toggle" - logger.log: "Sleep mode - Nextion toggle"