From 21a8598f87c43500eeb91957f036d11d3f143ef3 Mon Sep 17 00:00:00 2001 From: Blackymas Date: Tue, 10 Jan 2023 21:53:40 +0100 Subject: [PATCH] add reboot button on boot page --- nspanel_esphome.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/nspanel_esphome.yaml b/nspanel_esphome.yaml index 859d68c..83fce93 100644 --- a/nspanel_esphome.yaml +++ b/nspanel_esphome.yaml @@ -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