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

+3 -1
View File
@@ -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."""