feat: uwzględnienie nieobecności w większej liczbie reguł

This commit is contained in:
2022-05-05 17:20:53 +02:00
parent 23087ce82d
commit 1037c3eec0
2 changed files with 11 additions and 5 deletions

View File

@@ -24,11 +24,13 @@ rule "Zapal cottonballsy i blat przed zmierzchem"
when
Item sSunset_Event_in_hour received update ON
then
if (sHolidayVacancy.state == ON) {
return;
}
sOWFS01.sendCommand(ON)
sOWFS01_expected.postUpdate(ON)
/* HOLIDAY */
sD1MINI02MOS.sendCommand(ON)
end