AlexxIT / WebRTC

Home Assistant custom component for real-time viewing of almost any camera stream using WebRTC and other technologies.
https://github.com/AlexxIT/Blog
MIT License
1.35k stars 161 forks source link

Deprecation since 2024.5.0b0 #692

Open gieljnssns opened 2 months ago

gieljnssns commented 2 months ago
2024-04-25 08:20:40.546 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-04-25 08:20:40.549 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
AlexxIT commented 2 months ago

Thanks. I think this is fixed in latest master version

TTLucian commented 2 months ago

Hello! I still get the warnings on HA 2024.5.1, webrtc v3.5.2

Logger: homeassistant.helpers.typing
Source: helpers/deprecation.py:206
First occurred: 20:18:00 (2 occurrences)
Last logged: 20:18:00

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
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
hmmbob commented 2 months ago

Yeah, it is fixed in master already by this commit: https://github.com/AlexxIT/WebRTC/commit/d132c8c351071947eee6b8efb7eb78229d114b9f

So it should be solved when the next version ships. Thanks Alexx!

Morpheus2018 commented 1 month ago

Same here! Core 2024.5.3 Supervisor 2024.05.1 Operating System 12.3

rjdalga commented 1 month ago

Received on 6/3/24 Logger: homeassistant.helpers.typing Source: helpers/deprecation.py:206 First occurred: 3:01:16 PM (2 occurrences) Last logged: 3:01:16 PM

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 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