1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Update nest diagnostics (#65141)

This commit is contained in:
Allen Porter
2022-01-28 12:50:38 -08:00
committed by GitHub
parent bf910229b6
commit 956ceb6c68
3 changed files with 28 additions and 18 deletions

View File

@@ -56,13 +56,21 @@ async def test_entry_diagnostics(hass, hass_client):
assert await get_diagnostics_for_config_entry(hass, hass_client, config_entry) == {
"devices": [
{
"traits": {
"sdm.devices.traits.Humidity": {"ambientHumidityPercent": 35.0},
"sdm.devices.traits.Temperature": {
"ambientTemperatureCelsius": 25.1
"data": {
"assignee": "**REDACTED**",
"name": "**REDACTED**",
"parentRelations": [
{"displayName": "**REDACTED**", "parent": "**REDACTED**"}
],
"traits": {
"sdm.devices.traits.Info": {"customName": "**REDACTED**"},
"sdm.devices.traits.Humidity": {"ambientHumidityPercent": 35.0},
"sdm.devices.traits.Temperature": {
"ambientTemperatureCelsius": 25.1
},
},
},
"type": "sdm.devices.types.THERMOSTAT",
"type": "sdm.devices.types.THERMOSTAT",
}
}
],
}