ContactSensorMatterTraits

struct ContactSensorMatterTraits

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 to a boolean state.

    Declaration

    Swift

    let booleanStateTrait: Matter.BooleanStateTrait?
  • This trait provides an interface for configuring a boolean sensor, including optional state change alarm features and configuration of the sensor’s sensitivity level.

    Declaration

    Swift

    let booleanStateConfigurationTrait: Matter.BooleanStateConfigurationTrait?