Fix test_scenes_with_entity (#30684)

Don't assume any particular order for returned scenes; it's undefined
(currently uses dict values()).
This commit is contained in:
Ville Skyttä 2020-01-11 23:25:59 +02:00 committed by springstan
parent 7d506bc38b
commit 62f53b656d
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ async def test_scenes_with_entity(hass):
},
)
assert ha_scene.scenes_with_entity(hass, "light.kitchen") == [
assert sorted(ha_scene.scenes_with_entity(hass, "light.kitchen")) == [
"scene.scene_1",
"scene.scene_3",
]