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 GitHub committed 2018-10-27 21:34:33 +02:00
1 parent a22aad50e1
commit 649bc55a3b
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