From 42d39dcdd7486e0ecd0916e1d2ccce81d77443f4 Mon Sep 17 00:00:00 2001 From: Paul-Vincent Roll Date: Fri, 18 Nov 2022 21:46:10 +0100 Subject: [PATCH] Added reboot and shutdown buttons --- weatherman.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/weatherman.yaml b/weatherman.yaml index 7c9ea7a..09c7f7a 100644 --- a/weatherman.yaml +++ b/weatherman.yaml @@ -31,6 +31,12 @@ api: ota: + +button: + - platform: shutdown + name: "weatherman: Shutdown" + - platform: restart + name: "weatherman: Restart" # Global variables for detecting if the display needs to be refreshed. (Thanks @paviro!) globals: - id: data_updated