GenericOnOffStatus

data class GenericOnOffStatus(val presentOnOff: Boolean, val targetOnOff: Boolean? = null, val remainingTime: TransitionTime? = null)

Current state of a Generic OnOff model.

Parameters

presentOnOff

The current on/off state.

targetOnOff

The target state during a transition (null if not transitioning).

remainingTime

Remaining transition time (null if not transitioning).

Constructors

Link copied to clipboard
constructor(presentOnOff: Boolean, targetOnOff: Boolean? = null, remainingTime: TransitionTime? = null)

Properties

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