Skip to content

Commit

Permalink
Merge pull request #388
Browse files Browse the repository at this point in the history
[#387] Deprecated: async_get_registry
  • Loading branch information
Joshua Mulliken authored Jun 4, 2022
2 parents a931c1e + 1333454 commit b873580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/wyzeapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> b
if hms_id is not None:
mac_addresses.add(hms_id)

device_registry = await dr.async_get_registry(hass)
device_registry = dr.async_get(hass)
for device in dr.async_entries_for_config_entry(
device_registry, config_entry.entry_id
):
Expand Down

0 comments on commit b873580

Please sign in to comment.