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

Deprecation of hass.http.register_static_path #326

Open
alvsanand opened this issue Aug 23, 2024 · 0 comments
Open

Deprecation of hass.http.register_static_path #326

alvsanand opened this issue Aug 23, 2024 · 0 comments

Comments

@alvsanand
Copy link

When running this integration against Home Assistant version "2024.8.2", it shows a warning:

Detected that custom integration 'auth_header' calls hass.http.register_static_path which is deprecated because it does blocking I ││ /O in the event loop, instead call `await hass.http.async_register_static_paths([StaticPathConfig("/auth_header/store-token.js", "/config/custom_components/auth_header/store-token.js", True)])`; This funct ││ ion will be removed in 2025.7 at custom_components/auth_header/__init__.py, line 69: hass.http.register_static_path(, please report it to the author of the 'auth_header' custom integration
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

No branches or pull requests

1 participant