bushvin / hass-integrations

My custom Home Assistant integrations
Apache License 2.0
62 stars 11 forks source link

Integration not working after upgrade to 2023.8.0 #29

Closed astraliens closed 1 year ago

astraliens commented 1 year ago

After upgrade to 2023.8.0 integration not working anymore. After delete and create new mopidy entity it creating empty item without any entities Also there is nothing interesting in log. Existing entities added before just unavailable.

bushvin commented 1 year ago

Thank you for reporting this issue. I will not be able to work on it for the next 2-3 weeks, unfortunately...

So please be patient.

Chreece commented 1 year ago

No rush! Your private life is more important... Please let me know if you have any idea what is broken, I'm no programmer but maybe I could help fixing it...

bushvin commented 1 year ago

Really no idea. I would first turn on logging for the integration and restart HA. Hopefully that would come up with some lead as to where it went wrong. If not, scour the HA developers documents for stuff that was recently introduced, and possibly compare to other integrations as to what they did...

astraliens commented 1 year ago

In changelog to new HA version mentioned "Python 3.10 support has previously been deprecated and has now been removed. Home Assistant now requires Python 3.11 to run." Maybe something broken due to this update

paolapersico1 commented 1 year ago

I think the issue was due to this commit: https://github.com/home-assistant/core/pull/96479/commits/0e29ec5a985d7c2648d9dc780ef9f0fdb715ad6f. I created a pull request for the fix (it's my first open-source contribution, please tell me if I should have done it differently)

tanishqmanuja commented 1 year ago

Thank you, no error now. I guess we should merge this.

bushvin commented 1 year ago

@paolapersico1 good catch!

astraliens commented 1 year ago

@paolapersico1 good catch!

don't forget to make new release after merge, so autoupdate in HA will get new fixed version for everyone

bushvin commented 1 year ago

Thank you, all, for helping out in fixing this. Pushing a new release through termux works... 😃 : 1.5.0 is available!