custom-components / places

Component to integrate with OpenStreetMap Reverse Geocode (places)
GNU General Public License v3.0
110 stars 22 forks source link

Update deprecated typing #276

Closed casse-boubou closed 3 months ago

casse-boubou commented 4 months ago

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 https://github.com/custom-components/places/issues/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

Snuffy2 commented 3 months ago

Thanks! Fixes #275