# ControlModeEnum

    enum ControlModeEnum

The various modes of controlling the pump.
- `


  ### [constantSpeed](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/ControlModeEnum#/s:15GoogleHomeTypes6MatterO32PumpConfigurationAndControlTraitV0H8ModeEnumO13constantSpeedyA2GmF)


  ` The pump is running at a constant speed.

  #### Declaration

  Swift

      case constantSpeed

- `


  ### [constantPressure](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/ControlModeEnum#/s:15GoogleHomeTypes6MatterO32PumpConfigurationAndControlTraitV0H8ModeEnumO16constantPressureyA2GmF)


  ` The pump is regulating its speed to maintain a constant differential pressure over its
  flanges.

  #### Declaration

  Swift

      case constantPressure

- `


  ### [proportionalPressure](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/ControlModeEnum#/s:15GoogleHomeTypes6MatterO32PumpConfigurationAndControlTraitV0H8ModeEnumO20proportionalPressureyA2GmF)


  ` The pump will regulate its speed to maintain a constant differential pressure over its
  flanges.

  #### Declaration

  Swift

      case proportionalPressure

- `


  ### [constantFlow](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/ControlModeEnum#/s:15GoogleHomeTypes6MatterO32PumpConfigurationAndControlTraitV0H8ModeEnumO12constantFlowyA2GmF)


  ` The pump is regulating its speed to maintain a constant flow through the pump.

  #### Declaration

  Swift

      case constantFlow

- `


  ### [constantTemperature](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/ControlModeEnum#/s:15GoogleHomeTypes6MatterO32PumpConfigurationAndControlTraitV0H8ModeEnumO19constantTemperatureyA2GmF)


  ` The pump is regulating its speed to maintain a constant temperature.

  #### Declaration

  Swift

      case constantTemperature

- `


  ### [automatic](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/ControlModeEnum#/s:15GoogleHomeTypes6MatterO32PumpConfigurationAndControlTraitV0H8ModeEnumO9automaticyA2GmF)


  ` The operation of the pump is automatically optimized to provide the most suitable
  performance with respect to comfort and energy savings.

  #### Declaration

  Swift

      case automatic

- `


  ### [init(rawValue:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/ControlModeEnum#/s:15GoogleHomeTypes6MatterO32PumpConfigurationAndControlTraitV0H8ModeEnumO8rawValueAGSgs6UInt64V_tcfc)


  ` Creates a new instance with the specified raw value.

  If there is no value of the type that corresponds with the specified raw
  value, this initializer returns `nil`. For example:

      enum PaperSize: String {
          case A4, A5, Letter, Legal
      }

      print(PaperSize(rawValue: "Legal"))
      // Prints "Optional(PaperSize.Legal)"

      print(PaperSize(rawValue: "Tabloid"))
      // Prints "nil"

  #### Declaration

  Swift

      init?(rawValue: UInt64)

  #### Parameters

  |---|---|
  | ` rawValue ` | The raw value to use for the new instance. |