-
Notifications
You must be signed in to change notification settings - Fork 1
HueLight
Representing a controllable Philips Hue light or light-related object (e.g. the Hue Smart Switch).
HueLight objects are not generally created directly since they represent objects managed by the Hue bridge. Instead, they are returned by calling methods on other objects (e.g. HueBridge).
A HueLight object has the following properties.
A HueBridge object representing the bridge to which this light belongs.
A HueCapabilities object that describe's the light's capabilities.
The bridge ID of the light.
These attributes are set by the bridge and describe what kind of device is represented by the light. These are free-form strings, and applications should only use them to print informational messages to the user. Parsing them as a means of identifying light devices is strongly discouraged. See the capabilities property instead.
The light's name. Changing this property will rename the light on the bridge. The maximum name length is 32 characters.