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

HA Core 2025.5. Use homeassistant.core.ServiceCall instead, 'webrtc' custom integration #706

Closed
Walwol opened this issue May 30, 2024 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@Walwol
Copy link

Walwol commented May 30, 2024

Logger: homeassistant.helpers.typing
Quelle: helpers/deprecation.py:206
Erstmals aufgetreten: 16:28:38 (2 Vorkommnisse)
Zuletzt protokolliert: 16:28:38

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

@szaman-89
Copy link

szaman-89 commented Jun 1, 2024

@Walwol Temporary you can edit init.py file with:

Line 22 from:
from homeassistant.helpers.typing import HomeAssistantType, ConfigType, ServiceCallType
to:
from homeassistant.helpers.typing import ConfigType
from homeassistant.core import HomeAssistant, ServiceCall

and rename all phrases 'HomeAssistantType' to 'HomeAssistant' and 'ServiceCallType' to: 'ServiceCall'

It works in mycase.

@AlexxIT AlexxIT added the duplicate This issue or pull request already exists label Jun 1, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Jun 1, 2024

#692

@AlexxIT AlexxIT closed this as not planned Won't fix, can't repro, duplicate, stale Jun 1, 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