Skip to content

Commit

Permalink
Changed from async_setup_platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
corporategoth committed Feb 14, 2023
1 parent 9669c32 commit dd635a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/powerpetdoor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
"device": device_info,
}

hass.config_entries.async_setup_platforms(entry, PLATFORMS)
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
entry.async_on_unload(entry.add_update_listener(async_update_listener))
return True

Expand Down

0 comments on commit dd635a8

Please sign in to comment.