Skip to content

Commit

Permalink
Add missing argument to async_get(). Fixes #44
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc committed Jul 17, 2023
1 parent d64be77 commit 75a668c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/teufel_raumfeld/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ async def async_setup_entry(hass, config_entry, async_add_devices):
raumfeld = hass.data[DOMAIN][config_entry.entry_id]
room_names = raumfeld.get_rooms()
room_groups = raumfeld.get_groups()
entity_registry = await hass.helpers.entity_registry.async_get()
entity_registry = hass.helpers.entity_registry.async_get(hass)
entity_entries = hass.helpers.entity_registry.async_entries_for_config_entry(
entity_registry, config_entry.entry_id
)
Expand Down

0 comments on commit 75a668c

Please sign in to comment.