RGBColor
Number
LightName
LightStatus
LightState
LightState
LightState
LightState
RGBColor
Get the Color
Kind: Instance method of LightState
Returns: RGBColor
- the KEY_COLOR value
Number
Get the Density
Kind: Instance method of LightState
Returns: Number
- the KEY_DENSITY value
LightName
Get the IdParam
Kind: Instance method of LightState
Returns: LightName
- the KEY_ID value
LightStatus
Get the Status
Kind: Instance method of LightState
Returns: LightStatus
- the KEY_STATUS value
LightState
Set the Color
Kind: Instance method of LightState
Returns: LightState
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
color | RGBColor |
The desired Color. |
LightState
Set the Density
Kind: Instance method of LightState
Returns: LightState
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
density | Number |
The desired Density. {'num_min_value': 0.0, 'num_max_value': 1.0} |