sypialnia: rozdzielenie oświetlenia okna na dwa gniazdka

This commit is contained in:
2021-11-03 20:10:34 +01:00
parent f0b5a9585c
commit 73a79886d6
2 changed files with 11 additions and 2 deletions

View File

@@ -29,11 +29,20 @@ when
Item sSunset_Event received update ON
then
sSONOFF08a.sendCommand(ON)
sSONOFF08b.sendCommand(ON)
end
rule "Zgaś lampki w sypialni wieczorem"
rule "Zgaś gwiazdki w sypialni wieczorem"
when
Time cron "0 00 22 * * ?"
then
sSONOFF08b.sendCommand(OFF)
end
rule "Zgaś cottonballs w sypialni wieczorem"
when
Time cron "0 18 22 * * ?"
then
sSONOFF08a.sendCommand(OFF)
end