Group
public struct Group : Decodable
Undocumented
-
A unique, editable name given to the group.
Declaration
Swift
public let name: String
-
If not provided upon creation “LightGroup” is used. Can be “LightGroup”, “Room” or either “Luminaire” or “LightSource” if a Multisource Luminaire is present in the system.
Declaration
Swift
public let type: String
-
The IDs of the lights that are in the group.
Declaration
Swift
public let lights: [String]
-
The ordered set of sensor ids from the sensors which are in the group. The array can be empty.
Declaration
Swift
public let sensors: [String]
-
Contains a state representation of the group
Declaration
Swift
public let state: State
-
The light state of one of the lamps in the group.
Declaration
Swift
public let action: Action