Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rule "Lueftung2 AN"
- when
- Item Switch_Guest_WC received update
- then
- if (Switch_Guest_WC.state == ON) {
- timer = createTimer(now.plusMinutes(1), [|
- if (Switch_Guest_WC.state == ON)
- Switch_5.sendCommand(ON)
- ])
- }
- else if (Switch_Guest_WC.state == OFF) {
- timer = createTimer(now.plusMinutes(3), [|
- Switch_5.sendCommand(OFF)
- ])
- }
- end
Add Comment
Please, Sign In to add comment