Fixed buttons on settings page
This commit is contained in:
@@ -805,7 +805,7 @@ binary_sensor:
|
||||
- name: ${device_name} Restart
|
||||
platform: nextion
|
||||
page_id: 7
|
||||
component_id: 11
|
||||
component_id: 9
|
||||
internal: true
|
||||
on_click:
|
||||
- button.press: restart_nspanel
|
||||
@@ -823,7 +823,7 @@ binary_sensor:
|
||||
- name: ${device_name} Sleep mode
|
||||
platform: nextion
|
||||
page_id: 7
|
||||
component_id: 12
|
||||
component_id: 10
|
||||
internal: true
|
||||
on_click:
|
||||
- logger.log: "Sleep mode - Nextion toggle"
|
||||
|
||||
Reference in New Issue
Block a user