From 2ff3c74fabdf2c7f2dacea2819a5651fc627b42a Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 13 Sep 2020 21:37:52 -0500 Subject: [PATCH] Fix intermittently failing dyson test (#40051) --- tests/components/dyson/test_climate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/components/dyson/test_climate.py b/tests/components/dyson/test_climate.py index cca589875aa..296812bb0cf 100644 --- a/tests/components/dyson/test_climate.py +++ b/tests/components/dyson/test_climate.py @@ -494,7 +494,7 @@ async def test_purehotcool_update_state(devices, login, hass): async def test_purehotcool_empty_env_attributes(devices, login, hass): """Test empty environmental state update.""" device = devices.return_value[0] - device.environmental_state.temperature = None + device.environmental_state.temperature = 0 device.environmental_state.humidity = None await async_setup_component(hass, dyson_parent.DOMAIN, _get_config()) await hass.async_block_till_done()