mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Add name to cloud connection info response (#133468)
This commit is contained in:
parent
90208d2eb1
commit
869a0d7abc
@ -306,6 +306,7 @@ class CloudClient(Interface):
|
||||
},
|
||||
"version": HA_VERSION,
|
||||
"instance_id": self.prefs.instance_id,
|
||||
"name": self._hass.config.location_name,
|
||||
}
|
||||
|
||||
async def async_alexa_message(self, payload: dict[Any, Any]) -> dict[Any, Any]:
|
||||
|
@ -441,6 +441,7 @@ async def test_cloud_connection_info(hass: HomeAssistant) -> None:
|
||||
|
||||
assert response == {
|
||||
"instance_id": "12345678901234567890",
|
||||
"name": "test home",
|
||||
"remote": {
|
||||
"alias": None,
|
||||
"can_enable": True,
|
||||
|
Loading…
x
Reference in New Issue
Block a user