Allows unload when unsupported devices vesync (#127153)
Allows unload when unsupported devices
This commit is contained in:
parent
c5ebd53079
commit
f02f0eae59
1 changed files with 1 additions and 1 deletions
|
@ -137,6 +137,6 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||
"""Unload a config entry."""
|
||||
unload_ok = await hass.config_entries.async_unload_platforms(entry, PLATFORMS)
|
||||
if unload_ok:
|
||||
hass.data[DOMAIN].pop(entry.entry_id)
|
||||
hass.data.pop(DOMAIN)
|
||||
|
||||
return unload_ok
|
||||
|
|
Loading…
Add table
Reference in a new issue