Hi all,
I’ve found a few folks with similar issues but nothing with a solution that has worked yet.
I’m getting these errors in my HASS log and I don’t know if this is why Sensibo metrics only update/poll on server restart.
`Logger: homeassistant.components.climate
Source: components/sensibo/climate.py:247
Integration: Climate ([documentation](https://www.home-assistant.io/integrations/climate), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+climate%22))
First occurred: 12:29:04 PM (2 occurrences)
Last logged: 12:29:04 PM
* Error adding entities for domain climate with platform sensibo
* Error while setting up sensibo platform for climate
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 607, in _async_add_entity await entity.add_to_platform_finish() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 715, in add_to_platform_finish self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 486, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 521, in _async_write_ha_state attr.update(self.state_attributes or {}) File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 261, in state_attributes self.current_temperature, File "/usr/src/homeassistant/homeassistant/components/sensibo/climate.py", line 247, in current_temperature self._measurements["temperature"], TEMP_CELSIUS, self.temperature_unit KeyError: 'temperature'`
The integration works, as in I can toggle the A/C on/off but metrics are not automatically updated. I’ve tried scan_interval as well.
Here’s my configuration.yaml.
`climate:
- platform: sensibo
api_key: <sanitized>
template:
- sensor:
- name: Office Humidity (Sensibo)
state: "{{ state_attr('climate.office', 'current_humidity') }}"
unit_of_measurement: '%'
icon: mdi:water-percent
- name: Office Temperature (Sensibo)
state: "{{ state_attr('climate.office', 'current_temperature') }}"
unit_of_measurement: '°F'
icon: mdi:thermometer`
Any ideas?
-Brian