SceneControls

interface SceneControls

Actions to get and configure Scenes on the Hue system.

Functions

Link copied to clipboard
abstract suspend fun createScene(parameters: SceneCreateParameters): ResourceReference

Create a new scene on the Hue Bridge.

Link copied to clipboard
abstract suspend fun deleteScene(id: ResourceId): ResourceReference

Delete a scene from the Hue Bridge.

Link copied to clipboard
abstract suspend fun getScene(id: ResourceId): Scene

Get information for a specific Scene.

Link copied to clipboard
abstract suspend fun listScenes(): List<Scene>

Get a list of all scenes configured on the Hue Bridge.

Link copied to clipboard
abstract suspend fun updateScene(id: ResourceId, parameters: SceneUpdateParameters): ResourceReference

Update a scene on the Hue Bridge.