DimmingDeltaParameters

@Serializable
data class DimmingDeltaParameters(val action: DeltaAction, val brightnessDelta: Percentage? = null)

Relative brightness changes for a light.

Constructors

Link copied to clipboard
fun DimmingDeltaParameters(action: DeltaAction, brightnessDelta: Percentage? = null)

Properties

Link copied to clipboard

Type of delta being defined

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

Percentage brightness to be added to the light.