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

adopts removal of hass.const.HTTP_* #36

Closed
wants to merge 1 commit into from
Closed

adopts removal of hass.const.HTTP_* #36

wants to merge 1 commit into from

Conversation

thoemmi
Copy link

@thoemmi thoemmi commented Dec 8, 2021

With Home Assistant 2021.12, the const.HTTP_* status constants were removed, see home-assistant/core#58380.

This PR replaces these constants with HTTPStatus.

This fixes #35

@brewston
Copy link

Nice fix, I ran into this today and ended up hardcoding HTTP_OK to "200" which seemed to get the integration working again.

@mozdi
Copy link

mozdi commented Dec 12, 2021

With Home Assistant 2021.12, the const.HTTP_* status constants were removed, see home-assistant/core#58380.

This PR replaces these constants with HTTPStatus.

This fixes #35

Thank you, that solved the issue for me and works great1 :)

@CumpsD
Copy link

CumpsD commented Dec 14, 2021

Thanks, fixed it for me too

@thoemmi thoemmi closed this by deleting the head repository Nov 29, 2022
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 this pull request may close these issues.

ha_strava not running on 2021.12.0b2
4 participants