CJNE / thermiagenesis

Home assistant custom component for Thermia Inverter/Mega heat pumps
MIT License
24 stars 14 forks source link

Error logging, but still seems to work okay #259

Open Floppe opened 10 months ago

Floppe commented 10 months ago

Version of the custom_component

0.0.10

Describe the bug

Some errors logged when I change low and max set points from a NSPanel. Setpoints do change, so not sure why it's logged. Perhaps that's why the UI updates so slow in HA?

Debug log


Logger: homeassistant.helpers.entity
Source: helpers/entity.py:698
First occurred: 10:40:55 (3 occurrences)
Last logged: 10:45:54

Update for climate.tap_water fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 698, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 959, in async_device_update
    await self.async_update()
  File "/config/custom_components/thermiagenesis/climate.py", line 234, in async_update
    await self.coordinator.wantsRefresh(self.kind)
  File "/config/custom_components/thermiagenesis/__init__.py", line 130, in wantsRefresh
    await self.coordinator.async_request_refresh()
          ^^^^^^^^^^^^^^^^
AttributeError: 'ThermiaGenesisDataUpdateCoordinator' object has no attribute 'coordinator'