Adding restart button to all ESPHome nodes

This commit is contained in:
Jason Williams 2023-06-02 11:41:07 -06:00
parent 2de799c753
commit 2789e0e4c3
4 changed files with 20 additions and 4 deletions

View File

@ -49,3 +49,7 @@ binary_sensor:
filters:
- invert
- delayed_off: 5s
button:
- platform: restart
name: "Restart"

View File

@ -136,3 +136,7 @@ light:
- addressable_random_twinkle
- addressable_fireworks
- addressable_flicker
button:
- platform: restart
name: "Restart"

View File

@ -160,3 +160,7 @@ cover:
binary_sensor.is_on: garage_door_open
then:
- switch.turn_on: garage_door_switch
button:
- platform: restart
name: "Restart"

View File

@ -38,3 +38,7 @@ sensor:
return (std::string) "https://jasonsplant.jaywll.co/newreading?v=" + to_string(int(id(moisture_level).state));
headers:
auth-key: !secret houseplant_key
button:
- platform: restart
name: "Restart"