Advertisement
Guest User

Untitled

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