From 9f70b627b9762eb6ef221352cb3db6f51a6ef4a2 Mon Sep 17 00:00:00 2001 From: Tomasz Torcz Date: Mon, 7 Apr 2025 10:48:10 +0200 Subject: [PATCH] =?UTF-8?q?sypialnia:=20wcze=C5=9Bniejsze=20chodzenie=20sp?= =?UTF-8?q?a=C4=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rules/sypialnia.dual.rules | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rules/sypialnia.dual.rules b/rules/sypialnia.dual.rules index 90bb135..b978c5e 100644 --- a/rules/sypialnia.dual.rules +++ b/rules/sypialnia.dual.rules @@ -29,19 +29,20 @@ when Item sSunset_Event received update ON then sSONOFF08a.sendCommand(ON) + Thread::sleep(1000) sSONOFF08b.sendCommand(ON) end rule "Zgaś gwiazdki w sypialni wieczorem" when - Time cron "0 00 22 * * ?" + Time cron "0 55 21 * * ?" then sSONOFF08b.sendCommand(OFF) end rule "Zgaś cottonballs w sypialni wieczorem" when - Time cron "0 18 22 * * ?" + Time cron "0 08 22 * * ?" then sSONOFF08a.sendCommand(OFF) end