Fix un-/re-load of Feedreader integration (#144285)

fix unload platforms call
This commit is contained in:
Michael 2025-05-06 04:39:25 +02:00 committed by GitHub
parent 12f9a11716
commit 92010e1fca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,7 +45,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: FeedReaderConfigEntry)
# if this is the last entry, remove the storage
if len(entries) == 1:
hass.data.pop(MY_KEY)
return await hass.config_entries.async_unload_platforms(entry, Platform.EVENT)
return await hass.config_entries.async_unload_platforms(entry, [Platform.EVENT])
async def _async_update_listener(