[ERROR] [untime.internal.engine.RuleEngineImpl] - Rule 'Alles AUS / Reset button': 'state' is not a member of 'null';
rule "Alles AUS / Reset button"
when
Item all received update
then
if (all.state == ON){
Wohnzimmer_Licht.sendCommand(OFF)
createTimer(now.plusMillis(2), [ |
all.postUpdate(OFF) ] )
}
if (all.state == OFF){
Wohnzimmer_Licht.sendCommand(ON)
}
end