Fix missing service call context in multiple locations (#37094)

This commit is contained in:
Franck Nijhof authored and GitHub committed 2020-06-25 17:09:52 -07:00
1 parent 98a388e65a
commit f42eb0d5ca
10 files changed
+66 -23

No files matched your search

+5 -1
View File
@@ -175,7 +175,11 @@ async def async_setup(hass, config):
}
await hass.services.async_call(
DOMAIN_MP, SERVICE_PLAY_MEDIA, data, blocking=True
DOMAIN_MP,
SERVICE_PLAY_MEDIA,
data,
blocking=True,
context=service.context,
)
service_name = p_config.get(CONF_SERVICE_NAME, f"{p_type}_{SERVICE_SAY}")