Update __init__.py

This commit is contained in:
Joost Lekkerkerker 2025-04-19 13:32:55 +02:00 committed by GitHub
parent 30ab068bfe
commit 2f575d83b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,7 +36,6 @@ async def async_unload_entry(hass: HomeAssistant, entry: VodafoneConfigEntry) ->
coordinator = entry.runtime_data
await coordinator.api.logout()
await coordinator.api.close()
hass.data[DOMAIN].pop(entry.entry_id)
return unload_ok