SceneAction

@Serializable
data class SceneAction(val powerValue: PowerValue? = null, val dimmingValue: DimmingValue? = null, val colorValue: ColorValue? = null, val colorTemperatureValue: ColorTemperatureValue? = null, val gradient: GradientValue? = null, val effect: LightEffect? = null, val dynamicsDuration: Duration? = null)

Action to be executed on the lights in the scene.

Constructors

Link copied to clipboard
fun SceneAction(powerValue: PowerValue? = null, dimmingValue: DimmingValue? = null, colorValue: ColorValue? = null, colorTemperatureValue: ColorTemperatureValue? = null, gradient: GradientValue? = null, effect: LightEffect? = null, dynamicsDuration: Duration? = null)

Properties

Link copied to clipboard

Color temperature values of the lights in the scene, if applicable.

Link copied to clipboard
val colorValue: ColorValue? = null

Color values of the lights in the scene, if applicable.

Link copied to clipboard

Dimming values of the lights in the scene, if applicable.

Link copied to clipboard

Duration of a light transition or timed effects.

Link copied to clipboard
val effect: LightEffect? = null

Effect values applied to lights in the scene.

Link copied to clipboard
val gradient: GradientValue? = null

Gradient values of the lights in the scene, if applicable.

Link copied to clipboard
val powerValue: PowerValue? = null

On/Off state of the lights in the scene.