Fix missing service call context in multiple locations (#37094)
This commit is contained in:
1 parent
98a388e65a
commit
f42eb0d5ca
10 files changed
+66
-23
No files matched your search
@@ -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}")
|
||||
|
||||
Reference in new issue
Block a user