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
@@ -305,7 +305,9 @@ class Alert(ToggleEntity):
|
||||
_LOGGER.debug(msg_payload)
|
||||
|
||||
for target in self._notifiers:
|
||||
await self.hass.services.async_call(DOMAIN_NOTIFY, target, msg_payload)
|
||||
await self.hass.services.async_call(
|
||||
DOMAIN_NOTIFY, target, msg_payload, context=self._context
|
||||
)
|
||||
|
||||
async def async_turn_on(self, **kwargs):
|
||||
"""Async Unacknowledge alert."""
|
||||
|
||||
Reference in new issue
Block a user