diff --git a/custom_components/chore_helper/__init__.py b/custom_components/chore_helper/__init__.py index ff627a8..83e3877 100644 --- a/custom_components/chore_helper/__init__.py +++ b/custom_components/chore_helper/__init__.py @@ -253,6 +253,4 @@ async def async_remove_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> async def update_listener(hass: HomeAssistant, entry: ConfigEntry) -> None: """Update listener - to re-create device after options update.""" await hass.config_entries.async_forward_entry_unload(entry, const.SENSOR_PLATFORM) - hass.async_add_job( - hass.config_entries.async_forward_entry_setup(entry, const.SENSOR_PLATFORM) - ) + await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)