Fix 'all' entity_id in service call extraction (#20281)
This commit is contained in:
parent
08a57959b9
commit
1218127d83
2 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue