From 2789e0e4c339736ec87356da8be59aa95db2b360 Mon Sep 17 00:00:00 2001 From: Jason Williams Date: Fri, 2 Jun 2023 11:41:07 -0600 Subject: [PATCH] Adding restart button to all ESPHome nodes --- basement.yaml | 6 +++++- bedroom-lightstrips.yaml | 6 +++++- garage.yaml | 6 +++++- houseplant.yaml | 6 +++++- 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/basement.yaml b/basement.yaml index b2d42c3..520dc5a 100644 --- a/basement.yaml +++ b/basement.yaml @@ -48,4 +48,8 @@ binary_sensor: device_class: moisture filters: - invert - - delayed_off: 5s \ No newline at end of file + - delayed_off: 5s + +button: + - platform: restart + name: "Restart" \ No newline at end of file diff --git a/bedroom-lightstrips.yaml b/bedroom-lightstrips.yaml index 7f7e7bb..e450905 100644 --- a/bedroom-lightstrips.yaml +++ b/bedroom-lightstrips.yaml @@ -135,4 +135,8 @@ light: progress_interval: 10ms - addressable_random_twinkle - addressable_fireworks - - addressable_flicker \ No newline at end of file + - addressable_flicker + +button: + - platform: restart + name: "Restart" \ No newline at end of file diff --git a/garage.yaml b/garage.yaml index 0f8537c..b99ac28 100644 --- a/garage.yaml +++ b/garage.yaml @@ -159,4 +159,8 @@ cover: condition: binary_sensor.is_on: garage_door_open then: - - switch.turn_on: garage_door_switch \ No newline at end of file + - switch.turn_on: garage_door_switch + +button: + - platform: restart + name: "Restart" \ No newline at end of file diff --git a/houseplant.yaml b/houseplant.yaml index e9486c4..1052a00 100644 --- a/houseplant.yaml +++ b/houseplant.yaml @@ -37,4 +37,8 @@ sensor: url: !lambda |- return (std::string) "https://jasonsplant.jaywll.co/newreading?v=" + to_string(int(id(moisture_level).state)); headers: - auth-key: !secret houseplant_key \ No newline at end of file + auth-key: !secret houseplant_key + +button: + - platform: restart + name: "Restart" \ No newline at end of file