Advertisement
__Dave__

Untitled

Feb 2nd, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. rule "Küche Präsenz"
  2. when
  3. Item BWM_Kueche changed from OFF to ON
  4. then
  5. if(sunrise.isAfterNow() || sunset.isBeforeNow()) {
  6. if(KuecheTimer.state == OFF) {
  7. SonoffS_KCheLiArFl.sendCommand(ON)
  8. }
  9. KuecheTimer.sendCommand(ON)
  10. }
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement