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

FMI integration force HA to refresh forecast many times a second #39

Closed
tdragon opened this issue Jun 17, 2021 · 1 comment · Fixed by #41
Closed

FMI integration force HA to refresh forecast many times a second #39

tdragon opened this issue Jun 17, 2021 · 1 comment · Fixed by #41

Comments

@tdragon
Copy link
Contributor

tdragon commented Jun 17, 2021

I noticed that on the latest HA the FMI integration refreshes the forecast many times a second.
I think this is caused by 'async_request_refresh' called from update methods.
This call also produces a lot of warnings about coroutine not been awaited.

I'll try my fix and create a PR when it is ready.

@tdragon
Copy link
Contributor Author

tdragon commented Jun 17, 2021

There is a proposed fix: #40
It also contains a few other improvements. Let me know if you want me to separate them.

@anand-p-r anand-p-r linked a pull request Jun 20, 2021 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant