Move restart button into a template
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user