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

This commit is contained in:
Anders Melchiorsen 2019-01-21 01:33:11 +01:00 committed by Paulus Schoutsen
parent 08a57959b9
commit 1218127d83
2 changed files with 4 additions and 3 deletions

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