Library of Functions


Description


Checks if the scene with a given sceneID is active.

Usage and Arguments


fibaro:isSceneEnabled(sceneID)

  • sceneID : The scene number to check.

Returned Values


Boolean value: true if the scene is active, false if it is not active.

Examples


-- If scene number 3 is active, activate scene number 5
if (fibaro:isSceneEnabled(3)) then
  fibaro:setSceneEnabled(5, true)
end

See Also


fibaro:setSceneEnabled