Fix 'all' entity_id in service call extraction (#20281)

This commit is contained in:
Anders Melchiorsen authored and Paulus Schoutsen committed 2019-01-20 17:02:36 -08:00
1 parent f02e887fcc
commit 41d2321756
2 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -479,7 +479,7 @@ async def test_extract_all_use_match_all(hass, caplog):
MockEntity(name='test_2'),
])
call = ha.ServiceCall('test', 'service', {'entity_id': '*'})
call = ha.ServiceCall('test', 'service', {'entity_id': 'all'})
assert ['test_domain.test_1', 'test_domain.test_2'] == \
sorted(ent.entity_id for ent in