LightPowerup

@Serializable(with = LightPowerup.Serializer::class)
abstract class LightPowerup

Properties to configure powerup behaviour of a lightsource.

Types

Link copied to clipboard
data class Custom(val configured: Boolean, val powerState: PowerupPowerState, val dimmingState: PowerupDimmingState? = null, val colorState: PowerupColorState? = null) : LightPowerup

Custom Color/Temperature setting to restore on power up.

Link copied to clipboard
data class LastOnState(val configured: Boolean, val powerState: PowerupPowerState) : LightPowerup

Restore the last known state of the light when it was on.

Link copied to clipboard
data class Powerfail(val configured: Boolean, val powerState: PowerupPowerState) : LightPowerup

Restore the last known state of the light, maintaining on/off value.

Link copied to clipboard
data class Safety(val configured: Boolean, val powerState: PowerupPowerState) : LightPowerup

Restore the default state of the light on powerup.

Properties

Link copied to clipboard
abstract val configured: Boolean

Indicates if the shown values have been configured in the lightsource.

Link copied to clipboard

Power state to activate after powerup.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard