Add certificate status for cloud remote (#91277)

This commit is contained in:
Joakim Sørensen 2023-04-13 00:38:32 +02:00 committed by GitHub
parent d6c954a909
commit 2c8b704a6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 1 deletions

View file

@ -485,6 +485,7 @@ async def _account_data(hass: HomeAssistant, cloud: Cloud):
"logged_in": True,
"prefs": client.prefs.as_dict(),
"remote_certificate": certificate,
"remote_certificate_status": remote.certificate_status,
"remote_connected": remote.is_connected,
"remote_domain": remote.instance_domain,
"http_use_ssl": hass.config.api.use_ssl,