Skip to content

Commit

Permalink
Allows unload when unsupported devices
Browse files Browse the repository at this point in the history
  • Loading branch information
cdnninja authored Oct 1, 2024
1 parent dcb6c9a commit 2d558ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/vesync/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2d558ba

Please sign in to comment.