Hue Light On/Off
ActionStep Reference » Home Automation » Philips Hue » Light » Hue Light On/Off
The ActionStep Hue Light On/Off toggles a light of the Hue as either turned on or turned off.
- Open the Home Automation node in the Workspace Explorer.
- Open the Philips Hue node.
- In the Light node, select the Hue Light On/Off 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 hue light.
Allowed Context Scope [Fixed, Local, Global]
|
State
|
The state of the light to set.
Allowed Values: On, Off
Allowed Data Type [Boolean]
|
Results:
The ActionStep returns the following results:
name
|
description
|
---|---|
State
|
The set state of the light.
Allowed Context Scopes [Fixed, Local, Global] Allowed Context Types [Variable, Parameter, Result] |
Example 1 (Turn on the Hue light):
This example activates and outputs the state of the light. If the State of the light is "True", a voice message that the light is turned on is executed in the "Then" branch via Speech Output otherwise the voice message in the "Else" branch is executed.