rule "Kamera - Eingang/Alarm ausgelöst"
when
Item Kamera_EG_alarmTriggered changed
then
if (Kamera_EG_alarmTriggered.state != 0) {Kamera_EG_alarmTriggered.sendCommand(0)}
if (previousState != 0) {return;}
end
Still two lines of code, but no extra item…