diff --git a/custom_components/npm_switches/__init__.py b/custom_components/npm_switches/__init__.py index 883994b..658371d 100644 --- a/custom_components/npm_switches/__init__.py +++ b/custom_components/npm_switches/__init__.py @@ -60,7 +60,8 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry): for platform in PLATFORMS: if entry.options.get(platform, True): coordinator.platforms.append(platform) - await hass.config_entries.async_forward_entry_setup(entry, platform) + + await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) entry.async_on_unload(entry.add_update_listener(async_reload_entry)) return True diff --git a/custom_components/npm_switches/manifest.json b/custom_components/npm_switches/manifest.json index 9b6956b..ce15c70 100644 --- a/custom_components/npm_switches/manifest.json +++ b/custom_components/npm_switches/manifest.json @@ -8,5 +8,6 @@ "documentation": "https://github.com/InTheDaylight14/nginx-proxy-manager-switches", "iot_class": "local_polling", "issue_tracker": "https://github.com/InTheDaylight14/nginx-proxy-manager-switches/issues", - "version": "2.0.0" + "version": "2.0.2", + "homeassistant": "2024.1.1" } \ No newline at end of file diff --git a/hacs.json b/hacs.json index 3420c93..ee6e36e 100644 --- a/hacs.json +++ b/hacs.json @@ -1,5 +1,5 @@ { "name": "NPM Switches", "hacs": "1.6.0", - "homeassistant": "2024.01.00" + "homeassistant": "2024.1.1" } \ No newline at end of file