(LichtDachstudio) IF (([PresenceDachstudio] eq "present" and [Twilight:light] lt 5 and [VtLichtDachstudio] ne "off") or ([VtLichtDachstudio] eq "on")) (IF ([ELRO_STECKDOSE_D] ne "on") (set ELRO_STECKDOSE_D on)) ELSE (IF ([ELRO_STECKDOSE_D] ne "off") (set ELRO_STECKDOSE_D off))