LightUpdateParameters

@Serializable
data class LightUpdateParameters(val power: PowerParameters? = null, val dimming: DimmingParameters? = null, val dimmingDelta: DimmingDeltaParameters? = null, val colorTemperature: ColorTemperatureParameters? = null, val colorTemperatureDelta: ColorTemperatureDeltaParameters? = null, val color: ColorParameters? = null, val dynamics: DynamicsParameters? = null, val alert: AlertParameters? = null, val gradient: GradientParameters? = null, val effects: EffectsParameters? = null, val timedEffects: TimedEffectsParameters? = null)

Data available to be updated on a light object via the bridge.

All these fields are optional and if left blank will not be changed.

Constructors

Link copied to clipboard
fun LightUpdateParameters(power: PowerParameters? = null, dimming: DimmingParameters? = null, dimmingDelta: DimmingDeltaParameters? = null, colorTemperature: ColorTemperatureParameters? = null, colorTemperatureDelta: ColorTemperatureDeltaParameters? = null, color: ColorParameters? = null, dynamics: DynamicsParameters? = null, alert: AlertParameters? = null, gradient: GradientParameters? = null, effects: EffectsParameters? = null, timedEffects: TimedEffectsParameters? = null)

Properties

Link copied to clipboard
val alert: AlertParameters? = null

Specify an alert state on the light

Link copied to clipboard
val color: ColorParameters? = null

Specify a color to change the light to.

Link copied to clipboard

Specify the color temperature of the light

Link copied to clipboard

Specify a relative color temperature change to implement on the light.

Link copied to clipboard

Specify the brightness state of the light

Link copied to clipboard

Specify a relative brightness change to implement on the light.

Link copied to clipboard

Specify the dynamics of the state change

Link copied to clipboard

Specify a lighting effect for the light

Link copied to clipboard

Specify a gradient to implement on the light.

Link copied to clipboard
val power: PowerParameters? = null

Power state of the light

Link copied to clipboard

Specify a timed lighting effect for the light.