add reboot button on boot page

This commit is contained in:
Blackymas
2023-01-10 21:53:40 +01:00
parent 53dabf89fe
commit 21a8598f87

View File

@@ -445,7 +445,7 @@ binary_sensor:
number: 27
inverted: true
##### Restart NSPanel Button #####
##### Restart NSPanel Button - Setting Page #####
- platform: nextion
name: ${device_name} Restart
page_id: 7
@@ -454,6 +454,15 @@ binary_sensor:
on_click:
- button.press: restart_nspanel
##### Restart NSPanel Button - Boot Page #####
- platform: nextion
name: ${device_name} Restart
page_id: 8
component_id: 6
internal: true
on_click:
- button.press: restart_nspanel
##### Sleep Modus NSPanel Button #####
- platform: nextion
name: ${device_name} Sleep Modus