wc: jak nas nie ma, to nie psikaj

This commit is contained in:
2020-12-26 21:53:39 +01:00
parent fe84de9c2a
commit 567869c53f

View File

@@ -10,16 +10,18 @@ then
} }
end end
/* HOLIDAY */
rule "Psikaj w WC" rule "Psikaj w WC"
when when
Item sWC_occupied changed from ON to OFF or Item sWC_occupied changed from ON to OFF or
Time cron "0 50 05 ? * MON-FRI" or Time cron "0 50 05 ? * MON-FRI" or
Time cron "0 20 15 ? * MON-FRI" or
Time cron "0 10/20 15-21 ? * MON-FRI" or Time cron "0 10/20 15-21 ? * MON-FRI" or
Time cron "0 0,20,40 8-21 ? * SAT,SUN" Time cron "0 0,20,40 8-21 ? * SAT,SUN"
then then
if (sHolidayVacancy.state == ON) {
return;
}
sD1MINI04_refresh.sendCommand(ON) sD1MINI04_refresh.sendCommand(ON)
end end