sander1988 / Indego

Home Assistant Custom Component for Bosch Indego Lawn Mower
Apache License 2.0
96 stars 29 forks source link

Support version key in manifest file #121

Closed RolfKirkeng closed 3 years ago

RolfKirkeng commented 3 years ago

Then integration to Homeasistant should be upgraded to use version as reported by HA. 2021-04-11 19:48:41 WARNING (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'indego'. As of Home Assistant 2021.6, this integration will no longer be loaded. Please report this to the maintainer of 'indego'

Siggy101 commented 3 years ago

I have the same in my logs:

2021-05-21 12:28:30 ERROR (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'indego'. As of Home Assistant 2021.6, this integration will no longer be loaded. Please report this to the maintainer of 'indego'

Siggy101 commented 3 years ago

OK, I have updated HA to 2021.6.0 and as expected, this integration no longer works. I know this is more unpaid work for people but can any dev confirm if this is being worked on?

Shamshala commented 3 years ago

@jm-73 Is probably just busy as everybody else. He was recently active at discord server so it's just about not having time to deal with it at this moment, i guess.

Just add the "version": "3.7", line manually and you should be good to go on 2021.6

Siggy101 commented 3 years ago

👍 I totally understand that people are busy and this is not a priority. Can you confirm which file I need to add the version line to? Is it just in the configuration file with the rest of the Indego config or elsewhere?

Shamshala commented 3 years ago

@Siggy101 The line belongs to /config/custom_components/indego/manifest.json. :wink:

EDIT: Ups, I had to edit the line above because it was actually a version of another project :laughing: . Sorry!

jm-73 commented 3 years ago

I have commited the Pr made by Evan. I will have a more in depth look when I have the time. I hope this helps?

Siggy101 commented 3 years ago

@Siggy101 The line belongs to /config/custom_components/indego/manifest.json. 😉

EDIT: Ups, I had to edit the line above because it was actually a version of another project 😆 . Sorry!

Thanks for the pointers. I added the version line to the manifest file and all is working perfectly again.

No rush on the official fix then, this workaround is nice and easy to use for us noobs.