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

Integration is crashing after 1.5 update #65

Open
zweckj opened this issue Apr 26, 2023 · 3 comments
Open

Integration is crashing after 1.5 update #65

zweckj opened this issue Apr 26, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@zweckj
Copy link

zweckj commented Apr 26, 2023

Hi,
the integration keeps crashing for me after the migration to 1.5. I added username/password in the config_flow, but get the following on repeat:

2023-04-26 11:52:30.222 ERROR (MainThread) [custom_components.wemportal] Creating new wemportal api instance
2023-04-26 11:52:30.226 DEBUG (MainThread) [custom_components.wemportal] Finished fetching WemPortal update data in 6.256 seconds (success: False)
2023-04-26 11:52:40.908 DEBUG (SyncWorker_7) [custom_components.wemportal] Fetching api device data
2023-04-26 11:52:41.151 DEBUG (SyncWorker_7) [custom_components.wemportal] Fetching api parameters data
2023-04-26 11:52:45.265 DEBUG (SyncWorker_7) [custom_components.wemportal] Fetching fresh api data
2023-04-26 11:52:45.778 ERROR (MainThread) [custom_components.wemportal] Creating new wemportal api instance

I cleared my config yaml and deleted any old entities (just in case), but no difference.

@zweckj
Copy link
Author

zweckj commented Apr 26, 2023

Might be caused by my unit being offline.

@dm82m
Copy link
Contributor

dm82m commented Apr 26, 2023

If your unit is offline in wemportal, just power it off and an manually, it should reconnect then.

@erikkastelec
Copy link
Owner

Yes the problem is in the unit being offline. Will add a check for that scenario, so we do not generate so many requests.

@erikkastelec erikkastelec added the bug Something isn't working label Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants