    struct PumpConfigurationAndControlTrait

This trait provides an interface for the setup and control of pump devices, and the automatic
reporting of pump status information. Note that control of pump speed is handled by the `OnOff`
and `LevelControl` clusters.
- `


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


  ` List of the event types that are supported by `PumpConfigurationAndControlTrait`.

  #### Declaration

  Swift

      static let supportedEventTypes: [any Event.Type]

- `


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


  ` No supported commands for `PumpConfigurationAndControlTrait`.

  #### Declaration

  Swift

      static let supportedCommandTypes: [any Command.Type]

- `


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


  ` The trait identifier.

  #### Declaration

  Swift

      static let identifier: String

- `


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


  ` Metadata about this `Trait`.

  #### Declaration

  Swift

      let metadata: TraitMetadata

- `


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


  ` List of attributes for the `PumpConfigurationAndControlTrait`.

  #### Declaration

  Swift

      let attributes: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter.html.PumpConfigurationAndControlTrait.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/Attributes.html

- `


  ### [init(decoder:interactionProxy:metadata:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait#/s:15GoogleHomeTypes6MatterO32PumpConfigurationAndControlTraitV7decoder16interactionProxy8metadataAE0aB3SDK0I7DecoderV_AI011InteractionL0_pSgAI0I8MetadataVtKcfc)


  ` Creates a new Trait instance using data read from the given `TraitDecoder`.
  Throws
  `HomeError.parseError` when parsing fails.

  #### Declaration

  Swift

      init(decoder: TraitDecoder, interactionProxy: (any InteractionProxy)?, metadata: TraitMetadata) throws

  #### Parameters

  |---|---|
  | ` decoder ` | The raw data representing this Trait. |
  | ` interactionProxy ` | Proxy to the Interaction Client. |
  | ` metadata ` | Metadata about this Trait. |

- `


  ### [encode(with:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait#/s:15GoogleHomeTypes6MatterO32PumpConfigurationAndControlTraitV6encode4withy0aB3SDK0I7EncoderC_tKF)


  ` Writes this object to the given `TraitEncoder`.
  Throws `HomeError.encodingFailed` if the data could not be encoded.

  #### Declaration

  Swift

      func encode(with encoder: TraitEncoder) throws

- `


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


  ` This API provides the ability to invalidate state retrieved through subscriptions to the
  target device in the cases where state is not being reported correctly, either intentionally
  (e.g attributes in Matter traits with the "C" quality) or unintentionally due to poor
  implementations.

  When successful, this API will result in a forced read of the convening scope as specified by
  the sub-class and return the result through existing Trait subscriptions if present and
  active.

  This API is to be used sparingly as it can impact the performance and battery life of the
  target device. As such, this API may be throttled by the platform.
  Callers SHALL be prepared to deal with `HomeError`s thrown by this call.

  #### Declaration

  Swift

      func forceRead() async throws

- `


  ### [Attributes](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/Attributes.html)


  ` Attributes for the `https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait.html`.

  #### Declaration

  Swift

      struct Attributes

- `


  ### [==(_:_:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait#/s:15GoogleHomeTypes6MatterO32PumpConfigurationAndControlTraitV2eeoiySbAE_AEtFZ)


  ` Returns a Boolean value indicating whether two values are equal.

  Equality is the inverse of inequality. For any values `a` and `b`,
  `a == b` implies that `a != b` is `false`.

  #### Declaration

  Swift

      static func == (lhs: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter.html.PumpConfigurationAndControlTrait, rhs: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter.html.PumpConfigurationAndControlTrait) -> Bool

  #### Parameters

  |---|---|
  | ` lhs ` | A value to compare. |
  | ` rhs ` | Another value to compare. |

- `


  ### [hash(into:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait#/s:15GoogleHomeTypes6MatterO32PumpConfigurationAndControlTraitV4hash4intoys6HasherVz_tF)


  ` Hashes the essential components of this value by feeding them into the
  given hasher.

  Implement this method to conform to the `Hashable` protocol. The
  components used for hashing must be the same as the components compared
  in your type's `==` operator implementation. Call `hasher.combine(_:)`
  with each of these components.
  Important

  In your implementation of `hash(into:)`,
  don't call `finalize()` on the `hasher` instance provided,
  or replace it with a different instance.
  Doing so may become a compile-time error in the future.

  #### Declaration

  Swift

      func hash(into hasher: inout Hasher)

- `


  ### [SupplyVoltageLowEvent](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/SupplyVoltageLowEvent.html)


  ` Generated when the supply voltage is low.

  #### Declaration

  Swift

      struct SupplyVoltageLowEvent

- `


  ### [SupplyVoltageHighEvent](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/SupplyVoltageHighEvent.html)


  ` Generated when the supply voltage is high.

  #### Declaration

  Swift

      struct SupplyVoltageHighEvent

- `


  ### [PowerMissingPhaseEvent](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/PowerMissingPhaseEvent.html)


  ` Generated when a power phase is missing.

  #### Declaration

  Swift

      struct PowerMissingPhaseEvent

- `


  ### [SystemPressureLowEvent](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/SystemPressureLowEvent.html)


  ` Generated when the system pressure is low.

  #### Declaration

  Swift

      struct SystemPressureLowEvent

- `


  ### [SystemPressureHighEvent](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/SystemPressureHighEvent.html)


  ` Generated when the system pressure is high.

  #### Declaration

  Swift

      struct SystemPressureHighEvent

- `


  ### [DryRunningEvent](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/DryRunningEvent.html)


  ` Generated when dry running is detected.

  #### Declaration

  Swift

      struct DryRunningEvent

- `


  ### [MotorTemperatureHighEvent](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/MotorTemperatureHighEvent.html)


  ` Generated when the motor temperature is high.

  #### Declaration

  Swift

      struct MotorTemperatureHighEvent

- `


  ### [PumpMotorFatalFailureEvent](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/PumpMotorFatalFailureEvent.html)


  ` Generated when a fatal pump motor failure occurs.

  #### Declaration

  Swift

      struct PumpMotorFatalFailureEvent

- `


  ### [ElectronicTemperatureHighEvent](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/ElectronicTemperatureHighEvent.html)


  ` Generated when the electronic temperature is high.

  #### Declaration

  Swift

      struct ElectronicTemperatureHighEvent

- `


  ### [PumpBlockedEvent](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/PumpBlockedEvent.html)


  ` Generated when the pump is blocked.

  #### Declaration

  Swift

      struct PumpBlockedEvent

- `


  ### [SensorFailureEvent](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/SensorFailureEvent.html)


  ` Generated when a sensor failure occurs.

  #### Declaration

  Swift

      struct SensorFailureEvent

- `


  ### [ElectronicNonFatalFailureEvent](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/ElectronicNonFatalFailureEvent.html)


  ` Generated when a non-fatal electronic failure occurs.

  #### Declaration

  Swift

      struct ElectronicNonFatalFailureEvent

- `


  ### [ElectronicFatalFailureEvent](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/ElectronicFatalFailureEvent.html)


  ` Generated when a fatal electronic failure occurs.

  #### Declaration

  Swift

      struct ElectronicFatalFailureEvent

- `


  ### [GeneralFaultEvent](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/GeneralFaultEvent.html)


  ` Generated when a general fault occurs.

  #### Declaration

  Swift

      struct GeneralFaultEvent

- `


  ### [LeakageEvent](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/LeakageEvent.html)


  ` Generated when leakage is detected.

  #### Declaration

  Swift

      struct LeakageEvent

- `


  ### [AirDetectionEvent](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/AirDetectionEvent.html)


  ` Generated when air is detected.

  #### Declaration

  Swift

      struct AirDetectionEvent

- `


  ### [TurbineOperationEvent](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/TurbineOperationEvent.html)


  ` Generated when turbine operation occurs.

  #### Declaration

  Swift

      struct TurbineOperationEvent

- `


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


  ` The various modes of controlling the pump.

  #### Declaration

  Swift

      enum ControlModeEnum

- `


  ### [OperationModeEnum](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/OperationModeEnum.html)


  ` The various modes of operation for the pump.

  #### Declaration

  Swift

      enum OperationModeEnum

- `


  ### [Feature](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/Feature.html)


  ` PumpConfigurationAndControl cluster FeatureMap.

  #### Declaration

  Swift

      struct Feature

- `


  ### [PumpStatusBitmap](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/PumpConfigurationAndControlTrait/PumpStatusBitmap.html)


  ` A bitmap indicating different aspects of the current state of the pump.

  #### Declaration

  Swift

      struct PumpStatusBitmap