mirror of
https://github.com/Threnklyn/NSPanel_HA_Blueprint.git
synced 2026-06-07 13:43:32 +02:00
add reboot button on boot page
This commit is contained in:
+10
-1
@@ -445,7 +445,7 @@ binary_sensor:
|
|||||||
number: 27
|
number: 27
|
||||||
inverted: true
|
inverted: true
|
||||||
|
|
||||||
##### Restart NSPanel Button #####
|
##### Restart NSPanel Button - Setting Page #####
|
||||||
- platform: nextion
|
- platform: nextion
|
||||||
name: ${device_name} Restart
|
name: ${device_name} Restart
|
||||||
page_id: 7
|
page_id: 7
|
||||||
@@ -454,6 +454,15 @@ binary_sensor:
|
|||||||
on_click:
|
on_click:
|
||||||
- button.press: restart_nspanel
|
- 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 #####
|
##### Sleep Modus NSPanel Button #####
|
||||||
- platform: nextion
|
- platform: nextion
|
||||||
name: ${device_name} Sleep Modus
|
name: ${device_name} Sleep Modus
|
||||||
|
|||||||
Reference in New Issue
Block a user