We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3f928b commit 9707cf9Copy full SHA for 9707cf9
custom_components/wemportal/__init__.py
@@ -43,7 +43,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
43
async def migrate_unique_ids(
44
hass: HomeAssistant, config_entry: ConfigEntry, coordinator
45
):
46
- er = await entity_registry.async_get_registry(hass)
+ er = await entity_registry.async_get(hass)
47
# Do migration for first device if we have multiple
48
device_id = list(coordinator.data.keys())[0]
49
data = coordinator.data[device_id]
0 commit comments