Allow a list ofr update entity (#17860)
* Allow a list ofr update entity * Update services.yaml * Update services.yaml
This commit is contained in:
parent
a22aad50e1
commit
649bc55a3b
3 changed files with 13 additions and 4 deletions
|
@ -364,7 +364,7 @@ async def test_entity_update(hass):
|
|||
with patch('homeassistant.helpers.entity_component.async_update_entity',
|
||||
return_value=mock_coro()) as mock_update:
|
||||
await hass.services.async_call('homeassistant', 'update_entity', {
|
||||
'entity_id': 'light.kitchen'
|
||||
'entity_id': ['light.kitchen']
|
||||
}, blocking=True)
|
||||
|
||||
assert len(mock_update.mock_calls) == 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue