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

Update deprecated typing #276

Merged
merged 1 commit into from
May 11, 2024
Merged

Update deprecated typing #276

merged 1 commit into from
May 11, 2024

Conversation

casse-boubou
Copy link
Contributor

@casse-boubou casse-boubou commented May 1, 2024

I update sensor.py and change homeassistant.helpers.typing.EventType to homeassistant.core.Event because it was deprecated in 2025.5 in accordance with what is published here HA core update
And resolve this issus #275

My log show :
EventType was used from places, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.Event instead, please report it to the author of the 'places' custom integration

change homeassistant.helpers.typing.EventType to homeassistant.core.Event
@Snuffy2
Copy link
Collaborator

Snuffy2 commented May 11, 2024

Thanks!
Fixes #275

@Snuffy2 Snuffy2 merged commit dbe26f4 into custom-components:master May 11, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants