mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
This commit is contained in:
parent
6947f8cb2e
commit
a252065f99
@ -89,13 +89,12 @@ class MobileAppNotificationService(BaseNotificationService):
|
||||
targets = kwargs.get(ATTR_TARGET)
|
||||
|
||||
if not targets:
|
||||
targets = push_registrations(self.hass)
|
||||
targets = push_registrations(self.hass).values()
|
||||
|
||||
if kwargs.get(ATTR_DATA) is not None:
|
||||
data[ATTR_DATA] = kwargs.get(ATTR_DATA)
|
||||
|
||||
for target in targets:
|
||||
|
||||
entry = self.hass.data[DOMAIN][DATA_CONFIG_ENTRIES][target]
|
||||
entry_data = entry.data
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user