Array.<LightState>
Get the LightState
Kind: Instance method of LightControlData
Returns: Array.<LightState>
- the KEY_LIGHT_STATE value
LightControlData
Set the LightState
Kind: Instance method of LightControlData
Returns: LightControlData
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
state | Array.<LightState> |
An array of LightNames and their current or desired status. No change to the status of the LightNames that are not listed in the array. - The desired LightState. {'array_min_size': 1, 'array_max_size': 100} |