Fix solarlog client close (#120092)

pull/120055/head
Marc Mueller 2024-06-21 14:35:45 +02:00 committed by GitHub
parent 905c1c5700
commit 5c2f78a4b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ class SolarLogConfigFlow(ConfigFlow, domain=DOMAIN):
self._errors = {CONF_HOST: "unknown"}
return False
finally:
solarlog.client.close()
await solarlog.client.close()
return True