Add Google local indicator (#66610)

This commit is contained in:
Paulus Schoutsen 2022-02-16 07:54:59 -08:00 committed by GitHub
parent 3d1cad9f67
commit cd5b69d02e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 26 additions and 1 deletions

View file

@ -441,6 +441,7 @@ async def _account_data(hass: HomeAssistant, cloud: Cloud):
"email": claims["email"],
"google_entities": client.google_user_config["filter"].config,
"google_registered": google_config.has_registered_user_agent,
"google_local_connected": google_config.is_local_connected,
"logged_in": True,
"prefs": client.prefs.as_dict(),
"remote_certificate": certificate,