DimmingInfo

@Serializable
data class DimmingInfo(val brightness: Percentage, val minimum: Percentage? = null)

Info about a light's dimming status and capabilities.

Constructors

Link copied to clipboard
fun DimmingInfo(brightness: Percentage, minimum: Percentage? = null)

Properties

Link copied to clipboard
@Serializable(with = WholePercentageSerializer::class)
val brightness: Percentage

Current brightness value.

Link copied to clipboard
@Serializable(with = WholePercentageSerializer::class)
val minimum: Percentage? = null

Percentage of the maximum lumen the device outputs on minimum brightness.