LightControls

interface LightControls

Actions to get and control lighting state.

Functions

Link copied to clipboard
abstract suspend fun getLight(id: ResourceId): Light

Get the state of a single light

Link copied to clipboard
abstract suspend fun listLights(): List<Light>

Get a list of all lights connected to the bridge

Link copied to clipboard
abstract suspend fun updateLight(id: ResourceId, parameters: LightUpdateParameters): ResourceReference

Update a light's state.