Package-level declarations

Types

Link copied to clipboard
@Serializable
data class ColorInfoEvent(val color: Color)

Information about a light's color and color capabilities.

Link copied to clipboard
@Serializable
data class ColorTemperatureInfoEvent(val temperature: ColorTemperature?, val valid: Boolean)

Information about the bulb's color temperature and capabilities.

Link copied to clipboard
@Serializable
data class DimmingInfoEvent(val brightness: Percentage)

Info about a light's dimming status and capabilities.

Link copied to clipboard
@Serializable
data class LightEvent(val id: ResourceId, val owner: ResourceReference, val powerInfo: PowerInfo? = null, val dimmingInfo: DimmingInfoEvent? = null, val colorTemperatureInfo: ColorTemperatureInfoEvent? = null, val colorInfo: ColorInfoEvent? = null)

Data sent during a light update on the events API.