# CooktopMatterTraits

    struct CooktopMatterTraits

Trait Container for CooktopDeviceType Matter Traits.
- `


  ### [onOffTrait](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Structs/CooktopDeviceType/CooktopMatterTraits#/s:15GoogleHomeTypes17CooktopDeviceTypeV0D12MatterTraitsV10onOffTraitAA0G0O02OnjK0VSgvp)


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

- `


  ### [identifyTrait](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Structs/CooktopDeviceType/CooktopMatterTraits#/s:15GoogleHomeTypes17CooktopDeviceTypeV0D12MatterTraitsV13identifyTraitAA0G0O08IdentifyJ0VSgvp)


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