Shelly integration that uses deprecated `async_get_registry`

Trying to install the Shelly integration. Even though the Shelly dimmer is set to auto discovery it doesn’t appear in the shelly integration

image

Looking at the log file I saw this

2022-06-13 22:50:33 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that uses deprecated `async_get_registry` to access entity registry, use async_get instead. Please report issue to the custom component author for shelly using this method at custom_components/shelly/__init__.py, line 356: await self.hass.helpers.entity_registry.async_get_registry()

Do I need to raise a GitHub issue?

Has anyone else seen this? Not getting my Shelly devices in…

1 Like

Same issue here:

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:103
First occurred: 11:03:28 (1 occurrences)
Last logged: 11:03:28

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

Same here, no devices trying to connect to shelly cloud, same error

Same here.

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 shelly using this method at custom_components/shelly/init.py, line 356: await self.hass.helpers.entity_registry.async_get_registry

this is no custom integration. It’s native one :slight_smile:

Edit: it shows as core integration but indeed is reported to be run from Custom Components directory. Maybe OP for some reason did a copy of official integration as custom one.
Then the only solution is to start using official core version of this integration (but don’t know reasons of why it has been moved to custom components)