Closed thoemmi closed 1 year ago
Nice fix, I ran into this today and ended up hardcoding HTTP_OK to "200" which seemed to get the integration working again.
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 :)
Thanks, fixed it for me too
With Home Assistant 2021.12, the
const.HTTP_*
status constants were removed, see https://github.com/home-assistant/core/pull/58380.This PR replaces these constants with
HTTPStatus
.This fixes #35