Don't reload onedrive on options flow (#140712)

This commit is contained in:
Josef Zweck 2025-03-16 14:51:53 +01:00 committed by GitHub
parent 4ca31da0a5
commit 012b4645f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -106,11 +106,6 @@ async def async_setup_entry(hass: HomeAssistant, entry: OneDriveConfigEntry) ->
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
async def update_listener(hass: HomeAssistant, entry: OneDriveConfigEntry) -> None:
await hass.config_entries.async_reload(entry.entry_id)
entry.async_on_unload(entry.add_update_listener(update_listener))
def async_notify_backup_listeners() -> None:
for listener in hass.data.get(DATA_BACKUP_AGENT_LISTENERS, []):
listener()