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
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