LastOnState

data class LastOnState(val configured: Boolean, val powerState: PowerupPowerState) : LightPowerup

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

Constructors

Link copied to clipboard
fun LastOnState(configured: Boolean, powerState: PowerupPowerState)

Properties

Link copied to clipboard
open override val configured: Boolean

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

Link copied to clipboard
open override val powerState: PowerupPowerState

Power state to activate after powerup.