joggs / home_assistant_ebeco

Integration for Ebeco thermostats
29 stars 14 forks source link

Unexpected keyword argument 'main_temperature_sensor' #30

Closed jarikai closed 9 months ago

jarikai commented 1 year ago

There is a problem after some updates. I now run HAOS version 2023.8.0 and the debug log shows this:

2023-08-02 22:15:03.419 ERROR (MainThread) [homeassistant.components.climate] Error adding entities for domain climate with platform ebeco Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 510, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 619, in _async_add_entity device = dev_reg.async_get(self.hass).async_get_or_create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: DeviceRegistry.async_get_or_create() got an unexpected keyword argument 'main_temperature_sensor'

PerfectlyNormal commented 1 year ago

Reported in https://github.com/joggs/home_assistant_ebeco/issues/28 and should be fixed in the latest version. Try updating the integration and see if that helps