Skip to content

Commit 045dbef

Browse files
committed
update aysnc_setup
1 parent 7de730d commit 045dbef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/precoscombustiveis/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType):
3434

3535
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
3636
"""Set up the component from a config entry."""
37-
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
37+
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
3838
return True
3939

4040

0 commit comments

Comments
 (0)