Skip to content

Commit fe25e7a

Browse files
Merge pull request #24 from Bre77/conductor/cabin-fan-only
Add fan-only cabin overheat support
2 parents 7dac470 + 2bc8cf9 commit fe25e7a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tessie_api/climate.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ async def start_cabin_overheat_protection(
230230
session: aiohttp.ClientSession,
231231
vin: str,
232232
api_key: str,
233+
fan_only: bool = False,
233234
retry_duration: int = 40,
234235
wait_for_completion: bool = True,
235236
) -> Dict[str, Any]:
@@ -240,6 +241,7 @@ async def start_cabin_overheat_protection(
240241
api_key,
241242
params={
242243
"on": "true",
244+
"fan_only": str(fan_only).lower(),
243245
"retry_duration": retry_duration,
244246
"wait_for_completion": str(wait_for_completion).lower(),
245247
},
@@ -260,6 +262,7 @@ async def stop_cabin_overheat_protection(
260262
api_key,
261263
params={
262264
"on": "false",
265+
"fan_only": "false",
263266
"retry_duration": retry_duration,
264267
"wait_for_completion": str(wait_for_completion).lower(),
265268
},

0 commit comments

Comments
 (0)