Move restart button into a template

This commit is contained in:
2023-10-23 12:21:47 +02:00
parent 1d3ede92a7
commit 12ed2e7704
4 changed files with 7 additions and 14 deletions
+1 -5
View File
@@ -6,6 +6,7 @@ packages:
ota: !include ota.yaml
mqtt: !include mqtt.yaml
uptime: !include uptime.yaml
restart: !include restart.yaml
logger:
@@ -18,8 +19,3 @@ status_led:
# https://lowvoltage.github.io/2017/07/09/Onboard-LEDs-NodeMCU-Got-Two
number: GPIO16
inverted: true
button:
- platform: restart
name: "ESP chip restart"
entity_category: diagnostic