markgdev / home-assistant_OctopusAgile

Octopus Agile custom component for Home Assistant
Apache License 2.0
86 stars 33 forks source link

octopusagile does not have a valid version key in the manifest file and was blocked from loading #79

Closed markcocker closed 3 years ago

markcocker commented 3 years ago

Describe the bug Octopus Agile fails to load at Home Assistant startup due to message:

2021-06-03 17:38:46 ERROR (SyncWorker_2) [homeassistant.loader] The custom integration 'octopusagile' 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

To Reproduce Steps to reproduce the behavior:

  1. Install latest Octopus Agile via HACS
  2. Restarting Home Assistant
  3. View log at /config/logs
  4. See error

Expected behavior No errors in log and Octopus Agile works.

Screenshots None

Desktop (please complete the following information):

tbutcher365 commented 3 years ago

What version are you using as the current code has a version number in the manifest.json?

markcocker commented 3 years ago

Ah my mistake. I had two version installed. I had assumed the one installed via HACS would overwrite the manually installed version, but they had different casing in the directory. I removed both and re-installed via HACS and working fine now thanks.