tomaae / homeassistant-mikrotik_router

Mikrotik router integration for Home Assistant
Apache License 2.0
301 stars 50 forks source link

[Bug] uses deprecated `async_get_registry` #231

Closed gelokatil closed 2 years ago

gelokatil commented 2 years ago

Describe the issue

Home-Assistant gives the following warning when loading the component

Detected integration that uses deprecated async_get_registry to access entity registry, use async_get instead. Please report issue to the custom integration author for mikrotik_router using this method at custom_components/mikrotik_router/mikrotik_controller.py, line 443: registry = await self.hass.helpers.entity_registry.async_get_registry()

How to reproduce the issue

Initial load the component

Expected behavior

Screenshots

Software versions

Diagnostics data

Traceback/Error logs

Additional context

tomaae commented 2 years ago

already solved in master

gelokatil commented 2 years ago

thanks