mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 17:27:52 +00:00
remove coments
This commit is contained in:
parent
f87239d15e
commit
40c03e046f
@ -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)
|
Loading…
x
Reference in New Issue
Block a user