From 59842b8676b0bdd682a0fa1305fe6e53ee3d9dad Mon Sep 17 00:00:00 2001 From: golles Date: Tue, 26 Nov 2024 20:32:27 +0000 Subject: [PATCH] Reboot the device each morning, as it seems to lose connection to the fan after 3-4 days --- mechanische_ventilatie.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mechanische_ventilatie.yaml b/mechanische_ventilatie.yaml index ec256c1..1a2d7b4 100644 --- a/mechanische_ventilatie.yaml +++ b/mechanische_ventilatie.yaml @@ -82,3 +82,12 @@ button: then: lambda: |- id(${name}_fan).setSpeed(4, 60); + +time: + - platform: sntp + on_time: + - seconds: 0 + minutes: 0 + hours: 5 + then: + - button.press: ${name}_esphome_restart