Open zjuanma opened 5 months ago
Same issue here.
Logger: homeassistant.components.climate
Source: helpers/entity_platform.py:729
integration: Climate ([documentation](https://www.home-assistant.io/integrations/climate), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+climate%22))
First occurred: 11:32:55 AM (1 occurrences)
Last logged: 11:32:55 AM
intesishome: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 729, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1289, in async_device_update
await self.async_update()
File "/config/custom_components/intesishome/climate.py", line 373, in async_update
self._current_temp = self._controller.get_temperature(self._device_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyintesishome/intesisbase.py", line 404, in get_temperature
temperature = self.get_device_property(device_id, "temperature")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyintesishome/intesisbase.py", line 194, in get_device_property
return self._devices[str(device_id)].get(property_name)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'X'
I have a IntesisHome device (Climate AC). In HA I can see the entity but it is disable.
Log in IntesisHome API is valid and it get the device from the API.
HomeAssistant version 2024.4.4