ZoneControls

interface ZoneControls

Actions to get and configure Zones on the Hue system.

Functions

Link copied to clipboard
abstract suspend fun createZone(parameters: ZoneCreateParameters): ResourceReference

Create a new Zone on the Hue Bridge.

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

Remove a Zone from the Hue Bridge.

Link copied to clipboard
abstract suspend fun getZone(id: ResourceId): Zone

Get information for a specific Zone.

Link copied to clipboard
abstract suspend fun listZones(): List<Zone>

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

Link copied to clipboard
abstract suspend fun updateZone(id: ResourceId, parameters: ZoneUpdateParameters): ResourceReference

Update a Zone's definition