diff --git a/rules/wc.rules b/rules/wc.rules index ca87356..e6e333c 100644 --- a/rules/wc.rules +++ b/rules/wc.rules @@ -10,16 +10,18 @@ then } end -/* HOLIDAY */ rule "Psikaj w WC" when Item sWC_occupied changed from ON to OFF 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 0,20,40 8-21 ? * SAT,SUN" then + if (sHolidayVacancy.state == ON) { + return; + } + sD1MINI04_refresh.sendCommand(ON) end