Light

public struct Light : Decodable

Describes a light and its configuration.

  • Describes the configuration state of a Light.

    See more

    Declaration

    Swift

    public struct State : Decodable
  • Describes the capabilities of a Light

    See more

    Declaration

    Swift

    public struct Capabilities : Decodable
  • Details the state of the light, see the State struct for more details.

    Declaration

    Swift

    public let state: State
  • The capabilities of the light.

    Declaration

    Swift

    public let capabilities: Capabilities
  • A unique, editable name given to the light.

    Declaration

    Swift

    public let name: String
  • The hardware model of the light.

    Declaration

    Swift

    public let modelID: String
  • The manufacturer name.

    Declaration

    Swift

    public let manufacturerName: String
  • The product name.

    Declaration

    Swift

    public let productName: String