GroupedLight

@Serializable
data class GroupedLight(val id: ResourceId, val owner: ResourceReference, val powerInfo: PowerInfo? = null, val dimmingInfo: GroupDimmingInfo? = null, val alertInfo: AlertInfo? = null)

A configured light group for a room, zone or home.

Constructors

Link copied to clipboard
constructor(id: ResourceId, owner: ResourceReference, powerInfo: PowerInfo? = null, dimmingInfo: GroupDimmingInfo? = null, alertInfo: AlertInfo? = null)

Properties

Link copied to clipboard
@SerialName(value = "alert")
val alertInfo: AlertInfo?

Joined alert control for the light group.

Link copied to clipboard
@SerialName(value = "dimming")
val dimmingInfo: GroupDimmingInfo?

Information about the group's dimming, if supported.

Link copied to clipboard

The V2 unique identifier for the group.

Link copied to clipboard

Owner of the service

Link copied to clipboard
@SerialName(value = "on")
val powerInfo: PowerInfo?

Information about the power-state of the light group.