ha_strava icon indicating copy to clipboard operation
ha_strava copied to clipboard

'ha_strava' does not have a valid version key

Open stinkyfromusc opened this issue 3 years ago • 2 comments

When I upgraded to the core-2021.6.0b0 release today I received this error:

Logger: homeassistant.loader Source: loader.py:767 First occurred: 3:24:12 PM (1 occurrences) Last logged: 3:24:12 PM

The custom integration 'ha_strava' 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

stinkyfromusc avatar May 27 '21 20:05 stinkyfromusc

If it doesn't get fixed, just add it to manifest.json in your custom component.

{
  "domain": "ha_strava",
  "name": "Strava Home Assistant",
  "config_flow": true,
  "documentation": "https://github.com/codingcyclist/ha_strava",
  "requirements": ["aiohttp==3.6.1", "voluptuous==0.11.7"],
  "dependencies": [],
  "codeowners": ["@codingcyclist"]
}

becomes.........

{
  "domain": "ha_strava",
  "name": "Strava Home Assistant",
  "config_flow": true,
  "documentation": "https://github.com/codingcyclist/ha_strava",
  "requirements": ["aiohttp==3.6.1", "voluptuous==0.11.7"],
  "dependencies": [],
  "codeowners": ["@codingcyclist"],
  "version": "0.1"  
}

B-Hartley avatar Jun 01 '21 21:06 B-Hartley

added the above version line but still no joy...anything else need to be done...has anyone confirmed this change did work for them

apols...forgot the comma at the end of the previous line....all working now

jouster1974 avatar Jun 03 '21 10:06 jouster1974