Skip to content

Commit 845a4d5

Browse files
update entry setup func
1 parent 2006040 commit 845a4d5

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

custom_components/npm_switches/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
6060
for platform in PLATFORMS:
6161
if entry.options.get(platform, True):
6262
coordinator.platforms.append(platform)
63-
await hass.config_entries.async_forward_entry_setup(entry, platform)
63+
64+
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
6465

6566
entry.async_on_unload(entry.add_update_listener(async_reload_entry))
6667
return True

custom_components/npm_switches/manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88
"documentation": "https://github.com/InTheDaylight14/nginx-proxy-manager-switches",
99
"iot_class": "local_polling",
1010
"issue_tracker": "https://github.com/InTheDaylight14/nginx-proxy-manager-switches/issues",
11-
"version": "2.0.0"
11+
"version": "2.0.2",
12+
"homeassistant": "2024.1.1"
1213
}

hacs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "NPM Switches",
33
"hacs": "1.6.0",
4-
"homeassistant": "2024.01.00"
4+
"homeassistant": "2024.1.1"
55
}

0 commit comments

Comments
 (0)