remove coments

This commit is contained in:
Jonh Sady 2025-02-18 13:57:56 -03:00
parent f87239d15e
commit 40c03e046f

View File

@ -56,7 +56,6 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
"""Unload a config entry."""
_LOGGER.debug("Unloading Redgtech entry: %s", entry.entry_id)
# Fechar a sessão HTTP
api = RedgtechAPI(entry.data.get("access_token"))
await api.close()
return await hass.config_entries.async_unload_platforms(entry, PLATFORMS)