Open iptvcld opened 4 months ago
When i click on an action button, it is not clearing the message. This is an example from node red
var entity = msg.data.attributes.friendly_name; var entityId = msg.data.entity_id; var message = `--Not Home ALERT-- ${entity} was left ${msg.payload}!`; msg.payload = { "topic": "xxx222", "message": message, "actions": [ { "action": "http", "label": "Turn Off", "url": "http://192.168.2.3:8123/api/webhook/123xxx", "body": JSON.stringify({ "action": "turn_off", "entity_id": entityId }), "clear": true }, { "action": "http", "label": "Leave On", "url": "http://192.168.2.3:8123/api/webhook/321xxx", "body": JSON.stringify({ "action": "leave_on", "entity_id": entityId }), "clear": true } ] }; return msg;
Sends the message fine and when i click on the button my webhook sees it fine as well but the message does not clear from my notifications
When i click on an action button, it is not clearing the message. This is an example from node red
Sends the message fine and when i click on the button my webhook sees it fine as well but the message does not clear from my notifications