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

Properties

Link copied to clipboard
@SerialName(value = "mirek_schema")
val range: ColorTemperatureRange

Range of color temperature that this hardware supports

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.