Skip to content

Commit 6631f00

Browse files
author
Erkka Tahvanainen
committed
deprecation fix
1 parent 1475801 commit 6631f00

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

custom_components/jablotron80/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
4949
DATA_OPTIONS_UPDATE_UNSUBSCRIBER: entry.add_update_listener(options_update_listener),
5050
}
5151

52-
53-
for component in PLATFORMS:
54-
await hass.config_entries.async_forward_entry_setup(entry,component)
52+
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
5553
return True
5654

5755
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry):

0 commit comments

Comments
 (0)