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

ha_strava not running on 2021.12.0b2 #35

Open
stinkyfromusc opened this issue Dec 7, 2021 · 3 comments
Open

ha_strava not running on 2021.12.0b2 #35

stinkyfromusc opened this issue Dec 7, 2021 · 3 comments

Comments

@stinkyfromusc
Copy link

I'm running 2021.12.0b2 and am getting the following error:

Logger: homeassistant.setup
Source: setup.py:153
First occurred: 1:41:17 PM (1 occurrences)
Last logged: 1:41:17 PM

Setup failed for ha_strava: Unable to import component: cannot import name 'HTTP_OK' from 'homeassistant.const' 
(/usr/src/homeassistant/homeassistant/const.py)
@thoemmi
Copy link

thoemmi commented Dec 8, 2021

I've opened pull request #36 which should fix the issue. Starting with 2021.12.0b0, some constants have been removed from HASS.

I don't know if this repo is still maintained (the missing version in manifest.json has not been fixed for month). However, the changes in this PR are minimal, only a copy of lines must be changed in __init__.py and config_flow.py.

@bjornsivertsen
Copy link

It is not being maintained, perhaps @codingcyclist you could allow someone else to merge pull request, if you are not interested?

@stefanroelofs
Copy link

Or should someone create a fork where we can continue maintenance on this?

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

Successfully merging a pull request may close this issue.

4 participants