RoomControls

interface RoomControls

Actions to get and control rooms in the hue system

Functions

Link copied to clipboard
abstract suspend fun createRoom(parameters: RoomCreateParameters): ResourceReference

Create a new room on the hue bridge.

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

Delete an existing room from the hue bridge.

Link copied to clipboard
abstract suspend fun getRoom(id: ResourceId): Room

Get the state of a single room

Link copied to clipboard
abstract suspend fun listRooms(): List<Room>

Get a list of rooms configured on the hue service.

Link copied to clipboard
abstract suspend fun updateRoom(id: ResourceId, parameters: RoomUpdateParameters): ResourceReference

Update and existing room on the hue bridge.