Advertisement
boomx

Untitled

Feb 28th, 2016
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[
  2. %% properties
  3. %% globals
  4. --]]
  5.  
  6. if (tonumber(fibaro:getValue(88, "on")) == 1) then
  7.     fibaro:call(88,"turnOff")
  8.     fibaro:debug("Ist aus?")
  9.   elseif
  10.   (tonumber(fibaro:getValue(88, "on")) == 0) then
  11.     fibaro:call(88,"turnOn")
  12.       fibaro:debug("Ist an?")
  13.  
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement