freitdav / BDRthermostatHA

BDR (Baxi, De Dietrich, Remeha) thermostat custom component integration for Home Assistant
GNU General Public License v3.0
48 stars 21 forks source link

ConfigEntries' object has no attribute 'async_setup_platforms #50

Open johan-beemsterboer opened 9 months ago

johan-beemsterboer commented 9 months ago

Hi, I'm running into an issue with setting up the thermostat. This is what it says:

Logger: homeassistant.config_entries Source: config_entries.py:399 First occurred: 16:56:44 (2 occurrences) Last logged: 17:09:38

Error setting up entry BDR Thermostat for bdr_thermostat Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 399, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/bdr_thermostat/init.py", line 62, in async_setup_entry hass.config_entries.async_setup_platforms(config_entry, PLATFORMS) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'

Any help is appreciated!