Skip to content

ConfigEntries' object has no attribute 'async_setup_platforms #50

@johan-beemsterboer

Description

@johan-beemsterboer

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions