Skip to content

Commit 92010e1

Browse files
authored
Fix un-/re-load of Feedreader integration (#144285)
fix unload platforms call
1 parent 12f9a11 commit 92010e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

homeassistant/components/feedreader/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: FeedReaderConfigEntry)
4545
# if this is the last entry, remove the storage
4646
if len(entries) == 1:
4747
hass.data.pop(MY_KEY)
48-
return await hass.config_entries.async_unload_platforms(entry, Platform.EVENT)
48+
return await hass.config_entries.async_unload_platforms(entry, [Platform.EVENT])
4949

5050

5151
async def _async_update_listener(

0 commit comments

Comments
 (0)