Add context to service call event (#21181)

This commit is contained in:
Paulus Schoutsen
2019-02-18 13:07:44 -08:00
committed by GitHub
parent 463c4ae5c9
commit d2fea76fd7
2 changed files with 9 additions and 3 deletions

View File

@@ -1117,7 +1117,7 @@ class ServiceRegistry:
ATTR_DOMAIN: domain.lower(),
ATTR_SERVICE: service.lower(),
ATTR_SERVICE_DATA: service_data,
})
}, context=context)
if not blocking:
self._hass.async_create_task(