The code; fibaro.setSceneEnable(11, true) -- enable ore fibaro.setSceneEnable(11, false) -- disable did nothing when you run this in the Lua, also no error. This new coded above tested and this works great in Lua   Last question; is it possible before you switch from true to false, ore false to true, you get the value from this scene number Example; in a scene you get first the value form the scene, when scene is false you set to true   In HC2 I use: local Timer