From df872a21f1af560be78aeb9e9277f2317857ae55 Mon Sep 17 00:00:00 2001 From: slashback100 Date: Wed, 17 Jul 2024 20:34:56 +0200 Subject: [PATCH] Fix #137 --- custom_components/presence_simulation/__init__.py | 2 +- custom_components/presence_simulation/manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/presence_simulation/__init__.py b/custom_components/presence_simulation/__init__.py index 547fd0f..0143813 100644 --- a/custom_components/presence_simulation/__init__.py +++ b/custom_components/presence_simulation/__init__.py @@ -37,7 +37,7 @@ async def async_setup_entry(hass, entry): # Add sensor # Use `hass.async_create_task` to avoid a circular dependency between the platform and the component - hass.async_create_task(hass.config_entries.async_forward_entry_setup(entry, SWITCH_PLATFORM)) + hass.async_create_task(hass.config_entries.async_forward_entry_setups(entry, [SWITCH_PLATFORM])) previous_attribute = {} diff --git a/custom_components/presence_simulation/manifest.json b/custom_components/presence_simulation/manifest.json index c31adb5..9bdfbf3 100644 --- a/custom_components/presence_simulation/manifest.json +++ b/custom_components/presence_simulation/manifest.json @@ -9,5 +9,5 @@ "documentation": "https://github.com/slashback100/presence_simulation", "iot_class": "local_polling", "issue_tracker": "https://github.com/slashback100/presence_simulation/issues", - "version": "4.9" + "version": "4.10" }