State
public struct State : Decodable
Describes the configuration state of a Light
.
-
Indicates if a light can be reached by the bridge.
Declaration
Swift
public let isReachable: Bool
-
On/Off state of the light. On=true, Off=false
Declaration
Swift
public let isOn: Bool
-
Brightness of the light. This is a scale from the minimum brightness the light is capable of, 1, to the maximum capable brightness, 254.
Declaration
Swift
public let brightness: Int