Guest User

Untitled

a guest
Dec 18th, 2015
87
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. rule "heizung_pc"
  2. when
  3. Item Wall_Plug_Power changed
  4. then
  5. if(Wall_Plug_Power.state > 30.0)
  6. {
  7. sendCommand(Thermo_TempSet, 21)
  8. }
  9. else
  10. {
  11. sendCommand(Thermo_TempSet, 18)
  12. }
  13. end
RAW Paste Data