OnOffLightMatterTraits

struct OnOffLightMatterTraits

Trait Container for Matter Traits.

  • This trait supports an endpoint identification state (such as a flashing light) that indicates to an observer (such as an installer) which of several nodes or endpoints it is.

    Declaration

    Swift

    let identifyTrait: Matter.IdentifyTrait?
  • This trait provides an interface for turning devices on and off.

    Declaration

    Swift

    let onOffTrait: Matter.OnOffTrait?
  • This trait provides an interface for controlling a characteristic of a device that can be set to a level.

    Declaration

    Swift

    let levelControlTrait: Matter.LevelControlTrait?