codingcyclist / ha_strava

Pipe your Activity Data from Strava directly into Home Assistant
MIT License
76 stars 29 forks source link

'ha_strava' does not have a valid version key #30

Open stinkyfromusc opened 3 years ago

stinkyfromusc commented 3 years ago

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

B-Hartley commented 3 years ago

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"  
}
jouster1974 commented 3 years ago

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