Portion of the "mobile_app_notification_action" event is missing #557
sanathdw posted onGitHub
Problem/Motivation
I was trying to capture the "mobile_app_notification_action" event in node-red for the HA mobile app on Android. When I use the events: all
node, in node-red a portion of the message is missing.
Expected behavior
The full message would look like
{
"event_type": "mobile_app_notification_action",
"data": {
"message": "test",
"action_1_title": "test",
"action_1_key": "action1",
"action": "action1"
},
"origin": "REMOTE",
"time_fired": "2020-05-05T14:01:06.626951+00:00",
"context": {
"id": "ID",
"parent_id": null,
"user_id": "USERID"
}
}
Actual behavior
The following portion of the message is missing.
I have tested the same using the developer tools on HA and it works as expected. But for some reason it is not appearing as the output of the events: all
node in node-red
"origin": "REMOTE",
"time_fired": "2020-05-05T14:01:06.626951+00:00",
"context": {
"id": "ID",
"parent_id": null,
"user_id": "USERID"
}
Steps to reproduce
- Create an actionable notification and send to an Android app.
- Setup a
events: all
node in node-red and capture the "mobile_app_notification_action" event - Click on any of the actions which you setup when you get the message on the android phone.
- Should be able to see the above described behaviour