sander1988 / Indego

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

Component error: indego - Integration 'indego' not found. #128

Closed mirkin-pixel closed 3 years ago

mirkin-pixel commented 3 years ago

Today I updated my Home Assistant version to 2021.6.2 and the indego integration gives the following error: Component error: indego - Integration 'indego' not found.

In the logfile I found: 2021-06-05 11:08:25 ERROR (SyncWorker_1) [homeassistant.loader] The custom integration 'indego' does not have a valid version key (None) in the manifest file and was blocked from loading. See https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes#versions for more details

mirkin-pixel commented 3 years ago

Added the version manually to the file from the repo.

simonk1969 commented 3 years ago

Added the version manually to the file from the repo.

Are you able to advise what you needed to add and to what file as there doesn't seem to be a fix released yet.

Thanks :-)

Shamshala commented 3 years ago

@simonk1969 https://github.com/jm-73/Indego/issues/121#issuecomment-853398229

pinsdorf commented 3 years ago

Open file custom_components/indego/manifest.json in HomeAssistant's file editor.

Change the file so that its end looks like this:

  ...
  "requirements": ["pyIndego==2.0.26"],
  "version": "3.7.1" 
}

The version line is the new entry, which causes the issue. HomeAssistant requires it since version 2021.6. Don't forget the comma at the end of the preceding line. Restart HomeAssistant (or reload the Indego integration).