Closed ildar170975 closed 2 years ago
I've got the same problem after upgrading to 2021.12 last night. Configuration and error messages are exactly the same.
same
Same issue
I've got the same problem after upgrading to 2021.12.0
the same here
problem after upgrading to 2021.12.0
Quick temporary fix in api.py, similar as there Use http.HTTPStatus instead of const.HTTP_*
Workaround: api.py file, line 50, it was ATTR_NAME, HTTP_OK, STATE_UNKNOWN, ) became: ATTR_NAME, STATE_UNKNOWN, ) HTTP_OK = 200
Quick temporary fix in api.py, similar as there Use http.HTTPStatus instead of const.HTTP_*
Can anyone help me to apply the fix? I am using HA in Docker.
where is api.py file?
where is api.py file?
[HA root (location of configuration.yaml)]/custom_components/gismeteo/api.py
it works, thank you
same error
This fix helped me - https://github.com/Limych/ha-gismeteo/issues/90#issuecomment-991896750
Error: File "/config/custom_components/gismeteo/api.py", line 53 HTTP_OK = 200
This fixes don't help me.
error: Error occurred loading configuration flow for integration gismeteo: cannot import name 'HTTP_OK' from 'homeassistant.const'
Home Assistant 2021.12.3
Fixed in #87
Environment
Describe the bug
The integration cannot setup on HA startup. There is an error in the log:
Configuration.yaml The integration is setup via UI.
Steps to Reproduce
Upgrade HA to 2021.12
Expected behavior
The integration is loaded on HA startup.
Debug log
Additional context