# OnOffPluginUnitMatterTraits

    struct OnOffPluginUnitMatterTraits

Trait Container for OnOffPluginUnitDeviceType Matter Traits.
- `


  ### [identifyTrait](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Structs/OnOffPluginUnitDeviceType/OnOffPluginUnitMatterTraits#/s:15GoogleHomeTypes25OnOffPluginUnitDeviceTypeV0defG12MatterTraitsV13identifyTraitAA0J0O08IdentifyM0VSgvp)


  ` 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: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter.html.IdentifyTrait?

- `


  ### [onOffTrait](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Structs/OnOffPluginUnitDeviceType/OnOffPluginUnitMatterTraits#/s:15GoogleHomeTypes25OnOffPluginUnitDeviceTypeV0defG12MatterTraitsV02onE5TraitAA0J0O0deM0VSgvp)


  ` This trait provides an interface for turning devices on and off.

  #### Declaration

  Swift

      let onOffTrait: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter.html.OnOffTrait?

- `


  ### [levelControlTrait](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Structs/OnOffPluginUnitDeviceType/OnOffPluginUnitMatterTraits#/s:15GoogleHomeTypes25OnOffPluginUnitDeviceTypeV0defG12MatterTraitsV17levelControlTraitAA0J0O05LevelmN0VSgvp)


  ` This trait provides an interface for controlling a characteristic of a device that can be set to
  a level.

  #### Declaration

  Swift

      let levelControlTrait: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter.html.LevelControlTrait?