# OnOffLightMatterTraits

    struct OnOffLightMatterTraits

Trait Container for OnOffLightDeviceType Matter Traits.
- `


  ### [identifyTrait](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Structs/OnOffLightDeviceType/OnOffLightMatterTraits#/s:15GoogleHomeTypes20OnOffLightDeviceTypeV0deF12MatterTraitsV13identifyTraitAA0I0O08IdentifyL0VSgvp)


  ` 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/OnOffLightDeviceType/OnOffLightMatterTraits#/s:15GoogleHomeTypes20OnOffLightDeviceTypeV0deF12MatterTraitsV02onE5TraitAA0I0O0deL0VSgvp)


  ` 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/OnOffLightDeviceType/OnOffLightMatterTraits#/s:15GoogleHomeTypes20OnOffLightDeviceTypeV0deF12MatterTraitsV17levelControlTraitAA0I0O05LevellM0VSgvp)


  ` 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?