Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
LightControlData

LightControlData Class Reference

Constructors

Instance Methods

Constructors

new LightControlData(parameters)

Initalizes an instance of LightControlData.

Instance Methods

lightControlData.getLightState() ⇒ Array.<LightState>

Get the LightState

Kind: Instance method of LightControlData
Returns: Array.<LightState> - the KEY_LIGHT_STATE value

lightControlData.setLightState(state) ⇒ LightControlData

Set the LightState

Kind: Instance method of LightControlData
Returns: LightControlData - The class instance for method chaining.

ParamTypeDescription
state Array.<LightState> An array of LightNames and their current or desired status. No change to the status - The desired LightState. of the LightNames that are not listed in the array.
View on GitHub.com
Previous Section Next Section