- Sent as a confirmation when a user adds a new scene to the hub via the UI. This broadcast is a response to a hub.scenes.create command.
A scene is an ‘If-Then’ rule whereby an action is carried out as the result of a trigger (or ‘condition’). For example, users can create a scene to automatically turn the lights on (action) when a motion detector detects movement (trigger). Scenes can be triggered manually, or by a device, or by a time schedule. Users can also set up scenes to send notifications upon specific triggers.
In the API, the trigger conditions are called ‘when’ blocks, and the resulting actions are called ‘then’ blocks.