Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rule "Küche Präsenz"
- when
- Item BWM_Kueche changed from OFF to ON
- then
- if(sunrise.isAfterNow() || sunset.isBeforeNow()) {
- if(KuecheTimer.state == OFF) {
- SonoffS_KCheLiArFl.sendCommand(ON)
- }
- KuecheTimer.sendCommand(ON)
- }
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement