Allow 'all' entity_id in service schema (#20278)
This commit is contained in:
parent
1218127d83
commit
62844e237c
2 changed files with 5 additions and 1 deletions
|
@ -332,6 +332,10 @@ def test_service_schema():
|
|||
'service': 'homeassistant.turn_on',
|
||||
'entity_id': 'light.kitchen',
|
||||
},
|
||||
{
|
||||
'service': 'light.turn_on',
|
||||
'entity_id': 'all',
|
||||
},
|
||||
{
|
||||
'service': 'homeassistant.turn_on',
|
||||
'entity_id': ['light.kitchen', 'light.ceiling'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue