sypialnia: wcześniejsze chodzenie spać

This commit is contained in:
2025-04-07 10:48:10 +02:00
parent 02e0e5261d
commit 9f70b627b9

View File

@@ -29,19 +29,20 @@ when
Item sSunset_Event received update ON Item sSunset_Event received update ON
then then
sSONOFF08a.sendCommand(ON) sSONOFF08a.sendCommand(ON)
Thread::sleep(1000)
sSONOFF08b.sendCommand(ON) sSONOFF08b.sendCommand(ON)
end end
rule "Zgaś gwiazdki w sypialni wieczorem" rule "Zgaś gwiazdki w sypialni wieczorem"
when when
Time cron "0 00 22 * * ?" Time cron "0 55 21 * * ?"
then then
sSONOFF08b.sendCommand(OFF) sSONOFF08b.sendCommand(OFF)
end end
rule "Zgaś cottonballs w sypialni wieczorem" rule "Zgaś cottonballs w sypialni wieczorem"
when when
Time cron "0 18 22 * * ?" Time cron "0 08 22 * * ?"
then then
sSONOFF08a.sendCommand(OFF) sSONOFF08a.sendCommand(OFF)
end end