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.54k stars 181 forks source link

Deprecation since 2024.5.0b0 #692

Closed gieljnssns closed 1 month ago

gieljnssns commented 7 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 7 months ago

Thanks. I think this is fixed in latest master version

TTLucian commented 6 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 6 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 6 months ago

Same here! Core 2024.5.3 Supervisor 2024.05.1 Operating System 12.3

rjdalga commented 5 months 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

JeffCrum1 commented 2 months ago

Still getting this message in HA 2024.9.2

dreimer1986 commented 2 months ago

If you want them to vanish so badly, then use the master version. You easily can check when it will be fixed otherwise. New version? No? Not fixed. Yes? Fixed.

cloudbr34k84 commented 1 month ago

Just adding that im seeing the below

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
AlexxIT commented 1 month ago

https://github.com/AlexxIT/WebRTC/releases/tag/v3.6.0