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

Depricated stuff used #743

Closed
to4ko opened this issue Sep 4, 2024 · 2 comments
Closed

Depricated stuff used #743

to4ko opened this issue Sep 4, 2024 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@to4ko
Copy link

to4ko commented Sep 4, 2024

ha 2024.9.0

2024-09-04 21:18:03.613 WARNING (ImportExecutor_0) [homeassistant.helpers.typing] HomeAssistantType was used from webrtc, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.HomeAssistant instead, please report it to the author of the 'webrtc' custom integration
2024-09-04 21:18:03.617 WARNING (ImportExecutor_0) [homeassistant.helpers.typing] ServiceCallType was used from webrtc, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.ServiceCall instead, please report it to the author of the 'webrtc' custom integration
2024-09-04 21:18:03.620 INFO (MainThread) [homeassistant.setup] Setting up webrtc
2024-09-04 21:18:03.622 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'webrtc' 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("/webrtc/video-rtc.js", "/config/custom_components/webrtc/www/video-rtc.js", True)])`; This function will be removed in 2025.7 at custom_components/webrtc/__init__.py, line 67: hass.http.register_static_path("/webrtc/" + name, str(path / name)), please create a bug report at https://github.com/AlexxIT/WebRTC/issues
2024-09-04 21:18:03.628 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'webrtc' 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("/webrtc/embed", "/config/custom_components/webrtc/www/embed.html", True)])`; This function will be removed in 2025.7 at custom_components/webrtc/__init__.py, line 74: hass.http.register_static_path("/webrtc/embed", str(path / "embed.html")), please create a bug report at https://github.com/AlexxIT/WebRTC/issues
@AlexxIT AlexxIT added the bug Something isn't working label Sep 6, 2024
@AlexxIT AlexxIT self-assigned this Sep 6, 2024
@xitters
Copy link

xitters commented Sep 6, 2024

I have exacly the same warnings

2024-09-06 10:20:00.871 WARNING (ImportExecutor_0) [homeassistant.helpers.typing] HomeAssistantType was used from webrtc, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.HomeAssistant instead, please report it to the author of the 'webrtc' custom integration
2024-09-06 10:20:00.874 WARNING (ImportExecutor_0) [homeassistant.helpers.typing] ServiceCallType was used from webrtc, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.ServiceCall instead, please report it to the author of the 'webrtc' custom integration
2024-09-06 10:20:00.910 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'webrtc' 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("/webrtc/video-rtc.js", "/config/custom_components/webrtc/www/video-rtc.js", True)])`; This function will be removed in 2025.7 at custom_components/webrtc/__init__.py, line 67: hass.http.register_static_path("/webrtc/" + name, str(path / name)), please create a bug report at https://github.com/AlexxIT/WebRTC/issues
2024-09-06 10:20:00.917 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'webrtc' 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("/webrtc/embed", "/config/custom_components/webrtc/www/embed.html", True)])`; This function will be removed in 2025.7 at custom_components/webrtc/__init__.py, line 74: hass.http.register_static_path("/webrtc/embed", str(path / "embed.html")), please create a bug report at https://github.com/AlexxIT/WebRTC/issues

@AlexxIT
Copy link
Owner

AlexxIT commented Sep 8, 2024

HomeAssistantType and ServiceCallType - duplicate #692
register_static_path - duplicate #722

@AlexxIT AlexxIT closed this as completed Sep 8, 2024
@AlexxIT AlexxIT added duplicate This issue or pull request already exists and removed bug Something isn't working labels Sep 8, 2024
@AlexxIT AlexxIT removed their assignment Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants