mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 02:07:09 +00:00
Fix diagnostics Sensibo (#96336)
This commit is contained in:
parent
a226b90943
commit
49b6c8ed6e
@ -1,20 +1,5 @@
|
|||||||
# serializer version: 1
|
# serializer version: 1
|
||||||
# name: test_diagnostics
|
# name: test_diagnostics
|
||||||
dict({
|
|
||||||
'fanLevel': 'high',
|
|
||||||
'horizontalSwing': 'stopped',
|
|
||||||
'light': 'on',
|
|
||||||
'mode': 'heat',
|
|
||||||
'on': True,
|
|
||||||
'swing': 'stopped',
|
|
||||||
'targetTemperature': 25,
|
|
||||||
'timestamp': dict({
|
|
||||||
'secondsAgo': -1,
|
|
||||||
'time': '2022-04-30T11:23:30.019722Z',
|
|
||||||
}),
|
|
||||||
})
|
|
||||||
# ---
|
|
||||||
# name: test_diagnostics.1
|
|
||||||
dict({
|
dict({
|
||||||
'modes': dict({
|
'modes': dict({
|
||||||
'auto': dict({
|
'auto': dict({
|
||||||
@ -206,28 +191,28 @@
|
|||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
# ---
|
# ---
|
||||||
# name: test_diagnostics.2
|
# name: test_diagnostics.1
|
||||||
dict({
|
dict({
|
||||||
'low': 'low',
|
'low': 'low',
|
||||||
'medium': 'medium',
|
'medium': 'medium',
|
||||||
'quiet': 'quiet',
|
'quiet': 'quiet',
|
||||||
})
|
})
|
||||||
# ---
|
# ---
|
||||||
# name: test_diagnostics.3
|
# name: test_diagnostics.2
|
||||||
dict({
|
dict({
|
||||||
'fixedmiddletop': 'fixedMiddleTop',
|
'fixedmiddletop': 'fixedMiddleTop',
|
||||||
'fixedtop': 'fixedTop',
|
'fixedtop': 'fixedTop',
|
||||||
'stopped': 'stopped',
|
'stopped': 'stopped',
|
||||||
})
|
})
|
||||||
# ---
|
# ---
|
||||||
# name: test_diagnostics.4
|
# name: test_diagnostics.3
|
||||||
dict({
|
dict({
|
||||||
'fixedcenterleft': 'fixedCenterLeft',
|
'fixedcenterleft': 'fixedCenterLeft',
|
||||||
'fixedleft': 'fixedLeft',
|
'fixedleft': 'fixedLeft',
|
||||||
'stopped': 'stopped',
|
'stopped': 'stopped',
|
||||||
})
|
})
|
||||||
# ---
|
# ---
|
||||||
# name: test_diagnostics.5
|
# name: test_diagnostics.4
|
||||||
dict({
|
dict({
|
||||||
'fanlevel': 'low',
|
'fanlevel': 'low',
|
||||||
'horizontalswing': 'stopped',
|
'horizontalswing': 'stopped',
|
||||||
@ -239,7 +224,7 @@
|
|||||||
'temperatureunit': 'c',
|
'temperatureunit': 'c',
|
||||||
})
|
})
|
||||||
# ---
|
# ---
|
||||||
# name: test_diagnostics.6
|
# name: test_diagnostics.5
|
||||||
dict({
|
dict({
|
||||||
'fanlevel': 'high',
|
'fanlevel': 'high',
|
||||||
'horizontalswing': 'stopped',
|
'horizontalswing': 'stopped',
|
||||||
@ -251,7 +236,7 @@
|
|||||||
'temperatureunit': 'c',
|
'temperatureunit': 'c',
|
||||||
})
|
})
|
||||||
# ---
|
# ---
|
||||||
# name: test_diagnostics.7
|
# name: test_diagnostics.6
|
||||||
dict({
|
dict({
|
||||||
})
|
})
|
||||||
# ---
|
# ---
|
||||||
|
@ -21,7 +21,6 @@ async def test_diagnostics(
|
|||||||
|
|
||||||
diag = await get_diagnostics_for_config_entry(hass, hass_client, entry)
|
diag = await get_diagnostics_for_config_entry(hass, hass_client, entry)
|
||||||
|
|
||||||
assert diag["ABC999111"]["ac_states"] == snapshot
|
|
||||||
assert diag["ABC999111"]["full_capabilities"] == snapshot
|
assert diag["ABC999111"]["full_capabilities"] == snapshot
|
||||||
assert diag["ABC999111"]["fan_modes_translated"] == snapshot
|
assert diag["ABC999111"]["fan_modes_translated"] == snapshot
|
||||||
assert diag["ABC999111"]["swing_modes_translated"] == snapshot
|
assert diag["ABC999111"]["swing_modes_translated"] == snapshot
|
||||||
|
Loading…
x
Reference in New Issue
Block a user