Skip to content

Commit

Permalink
Fix Setup Platforms
Browse files Browse the repository at this point in the history
Fixing setup platforms to conform HA 3.2023
  • Loading branch information
veista committed May 4, 2023
1 parent 1163f93 commit ba1a6f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion custom_components/smartthings/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ async def retrieve_device_status(device):
)
return False

hass.config_entries.async_setup_platforms(entry, PLATFORMS)
hass.async_create_task(
hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
)
return True


Expand Down

0 comments on commit ba1a6f3

Please sign in to comment.