Allow a list ofr update entity (#17860)

* Allow a list ofr update entity

* Update services.yaml

* Update services.yaml
This commit is contained in:
Paulus Schoutsen authored and Paulus Schoutsen committed 2018-10-27 23:54:15 +02:00
1 parent edf2974979
commit 21686c9263
3 files changed
+13 -4

No files matched your search

+1 -1
View File
@@ -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