Skip to content

Commit

Permalink
Fix set-up depreciation
Browse files Browse the repository at this point in the history
  • Loading branch information
magicmatt007 committed Jan 5, 2023
1 parent 2e4c9e5 commit a9f3a74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion custom_components/v_zug/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
"coordinator": coordinator,
}

hass.config_entries.async_setup_platforms(entry, PLATFORMS)
# hass.config_entries.async_setup_platforms(entry, PLATFORMS) ## Apparently, depreciated around 2022.12
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)

return True

Expand Down
2 changes: 1 addition & 1 deletion custom_components/v_zug/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
"zeroconf": [],
"homekit": {},
"iot_class": "local_polling",
"version": "1.1.1"
"version": "1.1.2"
}

0 comments on commit a9f3a74

Please sign in to comment.