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 setting up entry..." after latest update. #26

Closed
THX2112 opened this issue May 9, 2023 · 2 comments
Closed

"Error setting up entry..." after latest update. #26

THX2112 opened this issue May 9, 2023 · 2 comments

Comments

@THX2112
Copy link

THX2112 commented May 9, 2023

During the latest setup OEB failed to load or reconfigure itself.

Any ideas on how to fix this? I was going to remove it then re-install but it looks like it's going to clobber my setup.

These were the only error messages:

2023-05-09 08:23:50.860 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration ontario_energy_board which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-05-09 08:24:04.011 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry GrandBridge Energy Inc.-Energy+ Rate Zone (RESIDENTIAL) for ontario_energy_board
File "/config/custom_components/ontario_energy_board/__init__.py", line 21, in async_setup_entry
@pslavickas
Copy link

pslavickas commented May 10, 2023

+1 on this - similar problem after the latest update

 Logger: homeassistant.config_entries
 Source: custom_components/ontario_energy_board/__init__.py:21
 Integration: Ontario Energy Board ([documentation](https://github.com/jrfernandes/ontario_energy_board), [issues](https://github.com/jrfernandes/ontario_energy_board/issues))
 First occurred: 10:31:55 PM (3 occurrences)
 Last logged: 10:43:52 PM
 
 Error setting up entry Elexicon Energy Inc.-Whitby Rate Zone (RESIDENTIAL) for ontario_energy_board
 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/ontario_energy_board/__init__.py", line 21, in async_setup_entry
     hass.config_entries.async_setup_platforms(entry, PLATFORMS)
 AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'
 

Edit: Updating to the latest version of the HACS integration ontario_energy_board (v0.3.3) & restarting Home Assistant resolved the issue.

@jrfernandes
Copy link
Owner

The latest release fixes this issue. Please update the component via HACS.

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

3 participants