iprak / weatherapi

HomeAssistant custom integration to fetch data from weatherapi
MIT License
8 stars 3 forks source link

Use http.HTTPStatus instead of const.HTTP_* #2

Closed scop closed 2 years ago

iprak commented 2 years ago

Did you run into a problem due to HTTP_OK ?

scop commented 2 years ago

No, but if you read the link in the commit message, chances are that users of this custom component soon will. This change can be applied already now and it will work with current and future HA versions.

iprak commented 2 years ago

Got it. I will add some of the missing documentation, etc. into the component sometime.