Allow targeting areas in service calls (#21472)

* Allow targeting areas in service calls

* Lint + Type

* Address comments
This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2019-03-04 09:51:12 -08:00
1 parent f62eb22ef8
commit 8213016eaf
16 files changed
+180 -62

No files matched your search

@@ -75,7 +75,7 @@ async def async_setup(hass, config):
async def async_scan_service(service):
"""Service handler for scan."""
image_entities = component.async_extract_from_service(service)
image_entities = await component.async_extract_from_service(service)
update_tasks = []
for entity in image_entities: