ColorTemperatureInfo

@Serializable
data class ColorTemperatureInfo(val temperature: ColorTemperature?, val valid: Boolean, val range: ColorTemperatureRange)

Information about the bulb's color temperature and capabilities.

Constructors

Link copied to clipboard
fun ColorTemperatureInfo(temperature: ColorTemperature?, valid: Boolean, range: ColorTemperatureRange)

Properties

Link copied to clipboard

Range of color temperature that this hardware supports

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.