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
constructor(temperature: ColorTemperature?, valid: Boolean)

Properties

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

Current color temperature of the bulb,

Link copied to clipboard
@SerialName(value = "mirek_valid")
val valid: Boolean

Indication whether the value is valid for this hardware.