-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Labels
carFor items that relate to Tesla vehiclesFor items that relate to Tesla vehiclestriageNew issues raised that need initial attentionNew issues raised that need initial attention
Description
Is there an existing issue for this?
- I have searched both the existing open issues & recently closed issues and did not find a duplicate of this issue.
I have read about the Fleet API and understand I may need to use it
- I understand issues relating to read only commands will be auto closed if not using the Fleet API.
Version of the Tesla component
v3.25.5
Version of the Tesla car software
2025.44.25.3
Model
Model 3 2022 LR
Current Behavior
"Failed to perform the action climate/set_hvac_mode. unknown error"
Expected Behavior
Should be able to set climate from HA
Debug logs
Log details (ERROR)
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:320
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 00:21:54 (3 occurrences)
Last logged: 00:27:00
[140206288978464] Entity climate.hvac_climate_system does not support action climate.turn_on
Log details (ERROR)
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:278
integration: Home Assistant WebSocket API ([documentation](https://www.home-assistant.io/integrations/websocket_api), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+websocket_api%22))
First occurred: 00:22:50 (2 occurrences)
Last logged: 00:23:15
[140206288978464] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 278, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<7 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/core.py", line 2819, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2862, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 832, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
hass, entity, func, data, call.context
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 904, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 577, in async_handle_set_hvac_mode_service
await self.async_set_hvac_mode(hvac_mode)
File "/config/custom_components/tesla_custom/climate.py", line 117, in async_set_hvac_mode
await self._car.set_hvac_mode("on")
File "/usr/local/lib/python3.13/site-packages/teslajsonpy/car.py", line 1105, in set_hvac_mode
data = await self._send_command("CLIMATE_ON")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/teslajsonpy/car.py", line 785, in _send_command
raise ex
File "/usr/local/lib/python3.13/site-packages/teslajsonpy/car.py", line 770, in _send_command
data = await self._controller.api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
name, path_vars=path_vars, wake_if_asleep=wake_if_asleep, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/teslajsonpy/controller.py", line 1420, in api
response = await self.__post_with_retries(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
"", method=method, data=kwargs, url=uri
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/tenacity/asyncio/__init__.py", line 189, in async_wrapped
return await copy(fn, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/tenacity/asyncio/__init__.py", line 111, in __call__
do = await self.iter(retry_state=retry_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/tenacity/asyncio/__init__.py", line 153, in iter
result = await action(retry_state)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/tenacity/_utils.py", line 99, in inner
return call(*args, **kwargs)
File "/usr/local/lib/python3.13/site-packages/tenacity/__init__.py", line 418, in exc_check
raise retry_exc.reraise()
~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/tenacity/__init__.py", line 185, in reraise
raise self.last_attempt.result()
~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/usr/local/lib/python3.13/site-packages/tenacity/asyncio/__init__.py", line 114, in __call__
result = await fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/teslajsonpy/controller.py", line 1443, in __post_with_retries
return await self.__connection.post(command, method=method, data=data, url=url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/teslajsonpy/connection.py", line 165, in post
return await self.__open(url, method=method, headers=self.head, data=data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/teslajsonpy/connection.py", line 222, in __open
raise TeslaException(resp.status_code)
teslajsonpy.exceptions.TeslaException
Logger: homeassistant.helpers.service
Source: helpers/target.py:142
First occurred: 00:21:51 (1 occurrence)
Last logged: 00:21:51
Referenced entities climate.hvac_climate_system are missing or not currently available
Anything else?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
carFor items that relate to Tesla vehiclesFor items that relate to Tesla vehiclestriageNew issues raised that need initial attentionNew issues raised that need initial attention