Adding restart button to all ESPHome nodes
This commit is contained in:
parent
2de799c753
commit
2789e0e4c3
@ -48,4 +48,8 @@ binary_sensor:
|
|||||||
device_class: moisture
|
device_class: moisture
|
||||||
filters:
|
filters:
|
||||||
- invert
|
- invert
|
||||||
- delayed_off: 5s
|
- delayed_off: 5s
|
||||||
|
|
||||||
|
button:
|
||||||
|
- platform: restart
|
||||||
|
name: "Restart"
|
@ -135,4 +135,8 @@ light:
|
|||||||
progress_interval: 10ms
|
progress_interval: 10ms
|
||||||
- addressable_random_twinkle
|
- addressable_random_twinkle
|
||||||
- addressable_fireworks
|
- addressable_fireworks
|
||||||
- addressable_flicker
|
- addressable_flicker
|
||||||
|
|
||||||
|
button:
|
||||||
|
- platform: restart
|
||||||
|
name: "Restart"
|
@ -159,4 +159,8 @@ cover:
|
|||||||
condition:
|
condition:
|
||||||
binary_sensor.is_on: garage_door_open
|
binary_sensor.is_on: garage_door_open
|
||||||
then:
|
then:
|
||||||
- switch.turn_on: garage_door_switch
|
- switch.turn_on: garage_door_switch
|
||||||
|
|
||||||
|
button:
|
||||||
|
- platform: restart
|
||||||
|
name: "Restart"
|
@ -37,4 +37,8 @@ sensor:
|
|||||||
url: !lambda |-
|
url: !lambda |-
|
||||||
return (std::string) "https://jasonsplant.jaywll.co/newreading?v=" + to_string(int(id(moisture_level).state));
|
return (std::string) "https://jasonsplant.jaywll.co/newreading?v=" + to_string(int(id(moisture_level).state));
|
||||||
headers:
|
headers:
|
||||||
auth-key: !secret houseplant_key
|
auth-key: !secret houseplant_key
|
||||||
|
|
||||||
|
button:
|
||||||
|
- platform: restart
|
||||||
|
name: "Restart"
|
Loading…
Reference in New Issue
Block a user