diff --git a/homeassistant/components/redgtech/__init__.py b/homeassistant/components/redgtech/__init__.py index 74a24c80baa..568d8db2f6f 100644 --- a/homeassistant/components/redgtech/__init__.py +++ b/homeassistant/components/redgtech/__init__.py @@ -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) \ No newline at end of file