# GoogleBathtubMatterTraits

    struct GoogleBathtubMatterTraits

Trait Container for GoogleBathtubDeviceType Matter Traits.
- `


  ### [temperatureControlTrait](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Structs/GoogleBathtubDeviceType/GoogleBathtubMatterTraits#/s:15GoogleHomeTypes0A17BathtubDeviceTypeV0aD12MatterTraitsV23temperatureControlTraitAA0G0O011TemperaturejK0VSgvp)


  ` This trait provides an interface to the setpoint temperature on devices such as washers,
  refrigerators, and water heaters.

  #### Declaration

  Swift

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

- `


  ### [temperatureMeasurementTrait](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Structs/GoogleBathtubDeviceType/GoogleBathtubMatterTraits#/s:15GoogleHomeTypes0A17BathtubDeviceTypeV0aD12MatterTraitsV27temperatureMeasurementTraitAA0G0O011TemperaturejK0VSgvp)


  ` This trait provides an interface to temperature measurement capability.

  #### Declaration

  Swift

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

- `


  ### [operationalStateTrait](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Structs/GoogleBathtubDeviceType/GoogleBathtubMatterTraits#/s:15GoogleHomeTypes0A17BathtubDeviceTypeV0aD12MatterTraitsV21operationalStateTraitAA0G0O011OperationaljK0VSgvp)


  ` This trait supports remote monitoring and allows the operational state of any device to be
  changed provided that a state machine is part of the operation.

  #### Declaration

  Swift

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