mirror of
https://github.com/home-assistant/core
synced 2024-10-04 07:58:43 +02:00
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:
parent
7d506bc38b
commit
62f53b656d
@ -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",
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user