XenoGuard 4.0 Documentation
Hue Light Saturation
ActionStep Reference » Home Automation » Philips Hue » Light » Hue Light Saturation
The ActionStep Hue Light Saturation sets the color saturation value of the light from 0-255.
[-] Hide
- Open the Home Automation node in the Workspace Explorer.
- Open the Philips Hue node.
- In the Light node, select the Hue Light Saturation ActionStep.
Parameters:
The ActionStep has the following input parameters:
name |
Description
|
---|---|
Hue Bridge
|
The control center for all smart-home devices.
Allowed Context Scope [Fixed] |
Light Name
|
The name of the light.
Allowed Context Scope [Fixed, Local, Global] Allowed Context Types [Variable, Parameter, Result, Enum] |
Saturation
|
The saturation value of the light.
Allowed Value Range: 0 - 255 Allowed Context Scope [Fixed]Allowed Data Type [Integer] |
Results:
The ActionStep returns the following results:
name
|
description
|
---|---|
Saturation
|
The set light saturation for the hue.
Allowed Context Scopes [Fixed, Local, Global] Allowed Context Types [Variable, Parameter] |
Example 1 (Set color saturation to 50 percent):
This example creates two local variables named ColorHex and LightName with Text as data type and stores a hex color value. After turning on the light, the hex value is then passed as color palette and the saturation level is adjusted to 50 percent. A notice on the values of the Color and Saturation is displayed via Message Box.