GroupedLightEvent

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

Data sent for a light group event.

Constructors

Link copied to clipboard
constructor(id: ResourceId, owner: ResourceReference, powerInfo: PowerInfo? = null, dimmingInfo: DimmingInfo? = 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: DimmingInfo?

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.