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

Hass 2024.7 broke this integration #638

Closed
canton7 opened this issue Jul 3, 2024 · 11 comments · Fixed by #640
Closed

Hass 2024.7 broke this integration #638

canton7 opened this issue Jul 3, 2024 · 11 comments · Fixed by #640

Comments

@canton7
Copy link
Collaborator

canton7 commented Jul 3, 2024

See #635.

Please do not open other issues!

@R1200G
Copy link

R1200G commented Jul 4, 2024

All my entities are not available. Integration not working anymore..

@Ndrinta
Copy link

Ndrinta commented Jul 4, 2024

To "fix" this, at least until the amazing devs will release an actual fix, simply open the terminal and downgrade using the command:

--version 2024.6.4

Which is the latest version of HA known working with this integration.

@bbrks
Copy link

bbrks commented Jul 4, 2024

Reposting from linked discussion for visibility:

If you've upgraded to 2024.7.0 and want to temporarily fix this integration without downgrading, you can:

  1. Add from datetime import timedelta near the top of the file.
  2. Add max_sub_interval=timedelta(minutes=5), to the IntegrationSensor.__init__ as shown below.

Do it via the file editor and restart HA after you've done this.

Screenshot 2024-07-04 at 09 57 24
Screenshot 2024-07-04 at 09 57 16

Originally posted by @bbrks in #635 (comment)

@Rill189
Copy link

Rill189 commented Jul 4, 2024

Thanks, although my PV sensor took a while to start again and display in history?
Will future updates likely be broken due to the extra code added?

@muhkuh666
Copy link

Is a fix already online when upgrading HASS ?

@canton7
Copy link
Collaborator Author

canton7 commented Jul 5, 2024

Is a fix already online when upgrading HASS ?

No. I might have a chance to do a fix this weekend.

@Rill189
Copy link

Rill189 commented Jul 5, 2024

Is a fix already online when upgrading HASS ?

No. I might have a chance to do a fix this weekend.

Thanks for the quick response. Would any fix you implement break the integration if the manual fix has been applied above?

Thanks

@Rill189
Copy link

Rill189 commented Jul 6, 2024

Is it safe to install 2024.7.1?

@screenagerbe
Copy link

Is it safe to install 2024.7.1?

Nope, I tried it yesterday and I had to revert to v2024.6.4

canton7 added a commit to canton7/foxess_modbus that referenced this issue Jul 6, 2024
HA 2024.7 introduced this, which broke us.

Fixes: nathanmarlor#638
@canton7 canton7 closed this as completed in 42cff54 Jul 6, 2024
@canton7
Copy link
Collaborator Author

canton7 commented Jul 6, 2024

Fixed in 1.12.1

@sleepymaxx
Copy link

Again and again --- Thanks for your great work!!!!

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.

8 participants