mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
Fix intermittently failing dyson test (#40051)
This commit is contained in:
parent
056e712667
commit
2ff3c74fab
@ -494,7 +494,7 @@ async def test_purehotcool_update_state(devices, login, hass):
|
|||||||
async def test_purehotcool_empty_env_attributes(devices, login, hass):
|
async def test_purehotcool_empty_env_attributes(devices, login, hass):
|
||||||
"""Test empty environmental state update."""
|
"""Test empty environmental state update."""
|
||||||
device = devices.return_value[0]
|
device = devices.return_value[0]
|
||||||
device.environmental_state.temperature = None
|
device.environmental_state.temperature = 0
|
||||||
device.environmental_state.humidity = None
|
device.environmental_state.humidity = None
|
||||||
await async_setup_component(hass, dyson_parent.DOMAIN, _get_config())
|
await async_setup_component(hass, dyson_parent.DOMAIN, _get_config())
|
||||||
await hass.async_block_till_done()
|
await hass.async_block_till_done()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user