Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
due to requirements of Home Assistant core 2024.7.0
  • Loading branch information
Gugulator authored Jul 5, 2024
1 parent c4323cb commit f0d376f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions custom_components/boi_exchange_rates/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
entry.async_on_unload(entry.add_update_listener(update_listener))

# Setup sensor platform
hass.async_create_task(
hass.config_entries.async_forward_entry_setup(entry, "sensor")
)
await hass.config_entries.async_forward_entry_setup(entry, "sensor")

return True

Expand Down

0 comments on commit f0d376f

Please sign in to comment.