ColorTemperatureInfoEvent

@Serializable
data class ColorTemperatureInfoEvent(val temperature: ColorTemperature?, val valid: Boolean)

Information about the bulb's color temperature and capabilities.

Constructors

Link copied to clipboard
fun ColorTemperatureInfoEvent(temperature: ColorTemperature?, valid: Boolean)

Properties

Link copied to clipboard
@Serializable(with = MiredSerializer::class)
val temperature: ColorTemperature?

Current color temperature of the bulb,

Link copied to clipboard

Indication whether the value is valid for this hardware.