change component id for repot and sleep

This commit is contained in:
Blackymas
2023-03-17 23:13:47 +01:00
parent b5cd83240f
commit d74b70f864

View File

@@ -430,7 +430,7 @@ binary_sensor:
- platform: nextion - platform: nextion
name: ${device_name} Restart name: ${device_name} Restart
page_id: 7 page_id: 7
component_id: 8 component_id: 15
internal: true internal: true
on_click: on_click:
- button.press: restart_nspanel - button.press: restart_nspanel
@@ -448,7 +448,7 @@ binary_sensor:
- platform: nextion - platform: nextion
name: ${device_name} Sleep Modus name: ${device_name} Sleep Modus
page_id: 7 page_id: 7
component_id: 3 component_id: 16
internal: true internal: true
on_click: on_click:
- switch.toggle: sleep_modus - switch.toggle: sleep_modus