maorcc / citymind_water_meter

Home Assistant Integration with cp.city-mind.com, an Israeli water meters reading service
Apache License 2.0
40 stars 2 forks source link

Deprecation usage on HA 2022.6.0 async_get_registry => async_get #26

Closed rotem925 closed 2 years ago

rotem925 commented 2 years ago

Hi, Just upgraded my HA to the latest and there is a new deprecation warning in the logs: Detected integration that uses deprecatedasync_get_registryto access entity registry, use async_get instead. Please report issue to the custom component author for citymind_water_meter using this method at custom_components/citymind_water_meter/managers/home_assistant.py, line 93: self._entity_registry = await er_async_get_registry(self._hass)

elad-bar commented 2 years ago

Will fix it later today

rotem925 commented 2 years ago

Will fix it later today

Superb!!