Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on setup #21

Open
nimaghoroubi opened this issue May 14, 2023 · 2 comments
Open

error on setup #21

nimaghoroubi opened this issue May 14, 2023 · 2 comments

Comments

@nimaghoroubi
Copy link

hi, i get this issue when i try and set my integration up, nyome know why? Thanks!

This error originated from a custom integration.

Logger: homeassistant.config_entries
Source: custom_components/blueair/init.py:50
Integration: BlueAir (documentation, issues)
First occurred: 7:31:00 PM (1 occurrences)
Last logged: 7:31:00 PM

Error setting up entry BlueAir

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/blueair/init.py", line 50, in async_setup_entry
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'

@TheTravelAddict
Copy link

I also get this error. It started when I updated HASS to the most recent version (which also caused a Mosquitto error -

Logger: homeassistant.config_entries
Source: custom_components/blueair/__init__.py:50
Integration: BlueAir ([documentation](https://github.com/aijayadams/hass-blueair/), [issues](https://github.com/aijayadams/hass-blueair/issues))
First occurred: 13:23:35 (2 occurrences)
Last logged: 13:32:22

Error setting up entry BlueAir [[my email address]] for blueair
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/blueair/__init__.py", line 50, in async_setup_entry
    hass.config_entries.async_setup_platforms(entry, PLATFORMS)
AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms' 

@TheTravelAddict
Copy link

The following Code below is working for me, but only if I manually overwrite the blueair directory from @mmaarrkk02's project into my custom_components directory.

https://github.com/mmaarrkk02/hass-blueair

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants