Skip to content

Commit c0026d5

Browse files
authored
refactor: async_setup_platforms -> async_forward_entry_setups (#85)
Address #83 Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for auto_backup using this method at custom_components/auto_backup/init.py, line 192: hass.config_entries.async_setup_platforms(entry, PLATFORMS)
1 parent ce23198 commit c0026d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/auto_backup/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ async def async_service_handler(call: ServiceCallType):
189189
for service, schema in MAP_SERVICES.items():
190190
hass.services.async_register(DOMAIN, service, async_service_handler, schema)
191191

192-
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
192+
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
193193
return True
194194

195195

0 commit comments

Comments
 (0)