Add remote server to cloud system health (#55506)

* Add sintun server to cloud system health

* Update name

* Adjust test
This commit is contained in:
Joakim Sørensen 2021-09-01 13:23:50 +02:00 committed by GitHub
parent 9284f7b147
commit 33fb080c1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 2 deletions

View file

@ -28,7 +28,7 @@ async def test_cloud_system_health(hass, aioclient_mock):
relayer="wss://cloud.bla.com/websocket_api",
acme_directory_server="https://cert-server",
is_logged_in=True,
remote=Mock(is_connected=False),
remote=Mock(is_connected=False, snitun_server="us-west-1"),
expiration_date=now,
is_connected=True,
client=Mock(
@ -52,6 +52,7 @@ async def test_cloud_system_health(hass, aioclient_mock):
"relayer_connected": True,
"remote_enabled": True,
"remote_connected": False,
"remote_server": "us-west-1",
"alexa_enabled": True,
"google_enabled": False,
"can_reach_cert_server": "ok",