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

hass.http.register_static_path is deprecated #18

Open
janusn opened this issue Dec 7, 2024 · 1 comment
Open

hass.http.register_static_path is deprecated #18

janusn opened this issue Dec 7, 2024 · 1 comment

Comments

@janusn
Copy link

janusn commented Dec 7, 2024

I have the following warnings show up in the log:

Log details (WARNING)
Logger: homeassistant.helpers.frame
Source: helpers/frame.py:324
First occurred: 10:51:14 PM (3 occurrences)
Last logged: 10:52:51 PM

Detected that custom integration 'cupertino' 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("/cupertino/main.js", "/config/custom_components/cupertino/main.js", True)])` at custom_components/cupertino/__init__.py, line 37: hass.http.register_static_path(. This will stop working in Home Assistant 2025.7, please report it to the author of the 'cupertino' custom integration
Detected that custom integration 'cupertino' 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("/cupertino/icons/ios", "/config/custom_components/cupertino/data/ios", True)])` at custom_components/cupertino/__init__.py, line 44: hass.http.register_static_path(. This will stop working in Home Assistant 2025.7, please report it to the author of the 'cupertino' custom integration
Detected that custom integration 'frigate' is overwriting the 'frontend_stream_type' property in the FrigateCameraWebRTC class, which is deprecated and will be removed in Home Assistant 2025.6, at custom_components/frigate/camera.py, line 180: Camera.__init__(self). Please create a bug report at https://github.com/blakeblackshear/frigate-hass-integration/issues

Home Assistant Core version: 2024.12.1
Home Assistant Frontend version: 20241127.6
Home Assistant Cupertino Icons version 3.0.2

@menahishayan
Copy link
Owner

Hi, it's been a while since I've looked at this project and will be incredibly busy this month, but in the meantime, feel free to create a PR! If you have further insight on where the problem might be, you can drop it in here so that I can (or anyone else) can take a look.

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

2 participants