GenericSwitchMatterTraits

struct GenericSwitchMatterTraits

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 exposes interactions with a switch device, for the purpose of using those interactions by other devices.

    Declaration

    Swift

    let switchTrait: Matter.SwitchTrait?