    enum VentilationState

The ventilation state.
- `


  ### [unspecified](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/ThermostatFanControlTrait/VentilationState#/s:15GoogleHomeTypes0A0O25ThermostatFanControlTraitV16VentilationStateO11unspecifiedyA2GmF)


  ` The ventilation state is unspecified.

  #### Declaration

  Swift

      case unspecified

- `


  ### [off](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/ThermostatFanControlTrait/VentilationState#/s:15GoogleHomeTypes0A0O25ThermostatFanControlTraitV16VentilationStateO3offyA2GmF)


  ` The ventilation state is off.

  #### Declaration

  Swift

      case off

- `


  ### [timer](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/ThermostatFanControlTrait/VentilationState#/s:15GoogleHomeTypes0A0O25ThermostatFanControlTraitV16VentilationStateO5timeryA2GmF)


  ` The ventilation state is running on a timer.

  #### Declaration

  Swift

      case timer

- `


  ### [schedule](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/ThermostatFanControlTrait/VentilationState#/s:15GoogleHomeTypes0A0O25ThermostatFanControlTraitV16VentilationStateO8scheduleyA2GmF)


  ` The ventilation state is running on a schedule.

  #### Declaration

  Swift

      case schedule

- `


  ### [indoorAirQuality](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/ThermostatFanControlTrait/VentilationState#/s:15GoogleHomeTypes0A0O25ThermostatFanControlTraitV16VentilationStateO16indoorAirQualityyA2GmF)


  ` The ventilation state is active due to poor indoor air quality.

  #### Declaration

  Swift

      case indoorAirQuality

- `


  ### [heating](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/ThermostatFanControlTrait/VentilationState#/s:15GoogleHomeTypes0A0O25ThermostatFanControlTraitV16VentilationStateO7heatingyA2GmF)


  ` The ventilation state is active due to heating requirements (free heating).

  #### Declaration

  Swift

      case heating

- `


  ### [cooling](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/ThermostatFanControlTrait/VentilationState#/s:15GoogleHomeTypes0A0O25ThermostatFanControlTraitV16VentilationStateO7coolingyA2GmF)


  ` The ventilation state is active due to cooling requirements (free cooling).

  #### Declaration

  Swift

      case cooling

- `


  ### [systemTest](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/ThermostatFanControlTrait/VentilationState#/s:15GoogleHomeTypes0A0O25ThermostatFanControlTraitV16VentilationStateO10systemTestyA2GmF)


  ` The ventilation state is running a system diagnostic test.

  #### Declaration

  Swift

      case systemTest

- `


  ### [init(rawValue:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/ThermostatFanControlTrait/VentilationState#/s:15GoogleHomeTypes0A0O25ThermostatFanControlTraitV16VentilationStateO8rawValueAGSgs6UInt64V_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. |