You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Greetings,
i am using django-webpush that uses pywebpush,can somebody advise why its not working to group multiple notification from my django-webpush?
I tested homeassistant html5 notify and my phone is able to group/replace a notification, how can i do it with django-webpush or pywebpush?
timestamp = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')
payload = {
"head": "CLOUD",
"body": "Changes on N%s, click here" % stpnum,
"icon": "/static/dist/img/logo.png",
"badge": "/static/dist/img/logo.png",
"url": "/home/%s/" % cpuid,
"data": {"tag": "renotify","renotify": True},
"tag": "renotify",
"default": True,
"renotify": True,
"timestamp": timestamp,
}
send_user_notification(user=user, payload=payload, ttl=1000)
The text was updated successfully, but these errors were encountered:
Greetings,
i am using django-webpush that uses pywebpush,can somebody advise why its not working to group multiple notification from my django-webpush?
I tested homeassistant html5 notify and my phone is able to group/replace a notification, how can i do it with django-webpush or pywebpush?
timestamp = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')
payload = {
"head": "CLOUD",
"body": "Changes on N%s, click here" % stpnum,
"icon": "/static/dist/img/logo.png",
"badge": "/static/dist/img/logo.png",
"url": "/home/%s/" % cpuid,
"data": {"tag": "renotify","renotify": True},
"tag": "renotify",
"default": True,
"renotify": True,
"timestamp": timestamp,
}
send_user_notification(user=user, payload=payload, ttl=1000)
The text was updated successfully, but these errors were encountered: