Skip to content

Commit

Permalink
init: Fix warnings about dep functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacheryThomas committed Jul 18, 2024
1 parent 61be196 commit 06986ba
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions custom_components/smartrent/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):

hass.data[DOMAIN][entry.entry_id] = api

for platform in PLATFORMS:
hass.async_add_job(
hass.config_entries.async_forward_entry_setup(entry, platform)
)
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)

entry.add_update_listener(async_reload_entry)
return True
Expand Down

0 comments on commit 06986ba

Please sign in to comment.