add reboot button on boot page
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user