<!--
{
  "availability" : [
    "iOS: 12.0.0 - 15.0.0",
    "iPadOS: 12.0.0 - 15.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INSetClimateSettingsInCarIntent/init(enableFan:enableAirConditioner:enableClimateControl:enableAutoMode:airCirculationMode:fanSpeedIndex:fanSpeedPercentage:relativeFanSpeedSetting:temperature:relativeTemperatureSetting:climateZone:carName:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "s:So31INSetClimateSettingsInCarIntentC7IntentsE9enableFan0H14AirConditioner0hB7Control0H8AutoMode014airCirculationN013fanSpeedIndex0qR10Percentage08relativeiR7Setting11temperature0u11TemperatureV011climateZone7carNameABSbSg_A3PSo05INCarjpN0VSiSgSdSgSo010INRelativeV0V10Foundation11MeasurementVySo06NSUnitX0CGSgAVSo9INCarSeatVSo17INSpeakableStringCSgtcfc"
  },
  "title" : "init(enableFan:enableAirConditioner:enableClimateControl:enableAutoMode:airCirculationMode:fanSpeedIndex:fanSpeedPercentage:relativeFanSpeedSetting:temperature:relativeTemperatureSetting:climateZone:carName:)"
}
-->

# init(enableFan:enableAirConditioner:enableClimateControl:enableAutoMode:airCirculationMode:fanSpeedIndex:fanSpeedPercentage:relativeFanSpeedSetting:temperature:relativeTemperatureSetting:climateZone:carName:)

Creates the intent object with the specified climate settings information.

```
@nonobjc convenience init(enableFan: Bool? = nil, enableAirConditioner: Bool? = nil, enableClimateControl: Bool? = nil, enableAutoMode: Bool? = nil, airCirculationMode: INCarAirCirculationMode = .unknown, fanSpeedIndex: Int? = nil, fanSpeedPercentage: Double? = nil, relativeFanSpeedSetting: INRelativeSetting = .unknown, temperature: Measurement<UnitTemperature>? = nil, relativeTemperatureSetting: INRelativeSetting = .unknown, climateZone: INCarSeat = .unknown, carName: INSpeakableString? = nil)
```

## Parameters

`enableFan`

A Boolean value indicating whether to turn on the cabin fan system. Specify `nil` if you don’t want to modify this setting.

`enableAirConditioner`

A Boolean value indicating whether to turn on the air conditioner system. Specify `nil` if you don’t want to modify this setting.

`enableClimateControl`

A Boolean value indicating whether to turn on the climate control system. Specify `nil` if you don’t want to modify this setting.

`enableAutoMode`

A Boolean value indicating whether to turn on automatic mode for the climate control system. Specify `nil` if you don’t want to modify this setting.

`airCirculationMode`

The air circulation mode to apply. Specify [`INCarAirCirculationMode.unknown`](/documentation/Intents/INCarAirCirculationMode/unknown) if you don’t want to modify this setting.

`fanSpeedIndex`

The fan speed, specified as an integer indicating the position of the corresponding controls. Specify `nil` if you don’t want to modify this setting.

`fanSpeedPercentage`

The fan speed, specified as a percentage of the maximum fan speed. Specify `nil` if you don’t want to modify this setting.

`relativeFanSpeedSetting`

The fan speed, specified as a change relative to the current fan speed. Specify [`INRelativeSetting.unknown`](/documentation/Intents/INRelativeSetting/unknown) if you don’t want to modify this setting.

`temperature`

The desired temperature, specified as a specific number of degrees. Specify `nil` if you don’t want to modify this setting.

`relativeTemperatureSetting`

The desired temperature, specified as a change relative to the current temperature. Specify [`INRelativeSetting.unknown`](/documentation/Intents/INRelativeSetting/unknown) if you don’t want to modify this setting.

`climateZone`

The climate zone whose settings are changing. Specify [`INCarSeat.unknown`](/documentation/Intents/INCarSeat/unknown) if you don’t want to modify this setting.

`carName`

The name of the car to apply the settings to.

## Return Value

An initialized intent object or `nil` if the object could not be created.

## Discussion

Normally, you don’t create instances of this class yourself. Instead, Siri creates instances when the user asks to change the vehicle’s climate control settings. However, you can use this method during testing to create intent objects in order to validate your intent handling code paths. Your test code should modify the settings for only one system at a time.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)