codingcyclist / ha_strava

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

ha_strava not running on 2021.12.0b2 #35

Open stinkyfromusc opened 2 years ago

stinkyfromusc commented 2 years ago

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 commented 2 years ago

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 _configflow.py.

bjornsivertsen commented 2 years ago

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

stefanroelofs commented 2 years ago

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