Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration doesn't show up in Home Assistant #32

Open
Fleshi1981 opened this issue Jun 13, 2021 · 19 comments
Open

Integration doesn't show up in Home Assistant #32

Fleshi1981 opened this issue Jun 13, 2021 · 19 comments

Comments

@Fleshi1981
Copy link

Wow, that's super weird. Removed and readded the repository and it showed up under integrations immediately (I did this before opening the issue). Added clientid/secret and sensors are there and working. Computers are weird, will close this one out.

I have exact the same issue. I also did the same "steps" you did, only unfortunately for me the Strava integration doesn't show up.

Originally posted by @Fleshi1981 in #21 (comment)

@Fleshi1981 Fleshi1981 changed the title > Wow, that's super weird. Removed and readded the repository and it showed up under integrations immediately (I did this before opening the issue). Added clientid/secret and sensors are there and working. Computers are weird, will close this one out. Integration doesn't show up in Home Assistant Jun 13, 2021
@sbik38
Copy link

sbik38 commented Jun 22, 2021

Same issue on my side. I added your Repository and HACS Integration properly, but then impossible to add Strava Integration ( in Configuration/Integration).
As I already have that integration present, it shows now : "Not Loaded". (1st screenshot here below)
If I remove the integration, to try to add-it again, then impossible to see when I search for it (2nd screenshot here below)

Note : I tried to remove HACS Integration and Repository + add them again, but same result
Any idea ?
Thanks

image

image

@robotjoosen
Copy link

@sbik38 @Fleshi1981 there is a PR for this issue: 62d0fd1

Until it is merged you can add the version manually. To have the effect to take place i had to restart the docker container instead of running a restart from the UI. Not sure how it is done with other setups.

@sbik38
Copy link

sbik38 commented Jul 2, 2021

On my custom_components folder, I can find the ha_strava folder, but into that folder, there is no manifest.json file for example. Ti install ha_strava manually, I could copy the code from Github dircetly in ha_strava folder, but where should I copy the file here below then ? (in "custom_components" or in "custom_components/ha_strava" folder ?
image

@robotjoosen
Copy link

robotjoosen commented Jul 2, 2021

This is what my /config/custom_components/ha_strava folder looks like.

__init__.py
__pycache__
camera.py
config_flow.py
const.py
manifest.json
sensor.py
strava_img_urls.pickle
translations

And this is the content of my manifest.json. The version property is added manually.

{
  "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": [],
  "version": "0.1.1",
  "codeowners": ["@codingcyclist"]
}

@sbik38
Copy link

sbik38 commented Jul 15, 2021

I have the same as yours but still not working and HA_Strava still not visible when I add it in Integration

@agujensen
Copy link

Same problem, any solution?

@walterb65
Copy link

Same here.

@robotjoosen
Copy link

Have you tried uninstalling it and reinstall it with the "quick fix". I'm not sure what I did, but it was a combination of removing updating and reinstall.

@walterb65
Copy link

I have uninstalled and installed again a couple of times, but still not visible.

@alesson25
Copy link

Same problem, any solution?

@walterb65
Copy link

I got it working by adding Version Info to Manifest.json.

Original:
{
"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"]
}

Updated:
{
"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": [],
"version": "0.1.2",
"codeowners": ["@codingcyclist"]
}

@regisleclerc
Copy link

I tried your workaround @walterb65, still doesn't work for me ...

@joelez83
Copy link

I got it working by adding Version Info to Manifest.json.

Original:
{
"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"]
}

Updated:
{
"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": [],
"version": "0.1.2",
"codeowners": ["@codingcyclist"]
}

I got it working too!!! Thanks!

@moseisleydk
Copy link

moseisleydk commented Nov 6, 2021

No luck here with the WA, but this error disappered:

2021-11-06T17:08:21.656913535Z 2021-11-06 18:08:21 ERROR (SyncWorker_0) [homeassistant.loader] The custom integration 'ha_strava' does not have a version key 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

@moseisleydk
Copy link

Well, suddenly it appeared... again, no clue why....

@jszust
Copy link

jszust commented Nov 24, 2021

I'm adding on, I absolutely can't get this to work. I've tried the manifest.json update but that did not fix things. Even though I install through HACS and the custom repository, the files don't show up in the custom_components folder, and the integration does not show up.

@moseisleydk
Copy link

Hi @jszust - If they dont show up in the custom_components folder, something else must be wrong, that should happend.

@CumpsD
Copy link

CumpsD commented Nov 25, 2021

Getting the same error

2021-11-25 16:39:29 ERROR (SyncWorker_3) [homeassistant.loader] The custom integration 'ha_strava' does not have a version key 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

@jjmateof
Copy link

Same error here...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests