mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Remove unused custom data in Google Assistant (#79003)
This commit is contained in:
@@ -30,7 +30,7 @@ from tests.common import (
|
||||
async def test_google_entity_sync_serialize_with_local_sdk(hass):
|
||||
"""Test sync serialize attributes of a GoogleEntity."""
|
||||
hass.states.async_set("light.ceiling_lights", "off")
|
||||
hass.config.api = Mock(port=1234, use_ssl=False)
|
||||
hass.config.api = Mock(port=1234, local_ip="192.168.123.123", use_ssl=False)
|
||||
await async_process_ha_core_config(
|
||||
hass,
|
||||
{"external_url": "https://hostname:1234"},
|
||||
@@ -57,10 +57,7 @@ async def test_google_entity_sync_serialize_with_local_sdk(hass):
|
||||
assert serialized["otherDeviceIds"] == [{"deviceId": "light.ceiling_lights"}]
|
||||
assert serialized["customData"] == {
|
||||
"httpPort": 1234,
|
||||
"httpSSL": False,
|
||||
"proxyDeviceId": "mock-user-id",
|
||||
"webhookId": "mock-webhook-id",
|
||||
"baseUrl": "https://hostname:1234",
|
||||
"uuid": "abcdef",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user