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

This commit is contained in:
Anders Melchiorsen authored and Paulus Schoutsen committed 2019-01-20 16:33:11 -08:00
1 parent 08a57959b9
commit 1218127d83
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