-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Event data is cut off #229
Comments
It's not really cut off, originally it was just never added to the output of the node. The output is a custom object built from the event object sent from HA. The docs should probably be updated to reference this.
Is this data that you would like to see in the events: all node output? |
I can't say how useful it is in other applications/events, but the user_id field not included in this instance is the identifier that lets you automate based on who sent an actionable text. |
Describe the bug
When listening for event data, the full event data is not displayed. In my case, I'm listening to mobile_app_notification_action.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If you listen to the event on Home Assistant, you see:
{
"event_type": "mobile_app_notification_action",
"data": {
"message": "Something happened at home!",
"action_1_title": "Title",
"action_1_key": "alarm",
"action": "alarm"
},
"origin": "REMOTE",
"time_fired": "2020-04-06T20:01:25.856135+00:00",
"context": {
"id": "verylongidstringgoeshere",
"parent_id": null,
"user_id": "verylonguserIDgoeshere"
}
}
Screenshots
Node-red's debug cuts off prior to origin and the other data that proceeds it:
object
event_type: "mobile_app_notification_action"
topic: "mobile_app_notification_action"
payload: object
event_type: "mobile_app_notification_action"
event: object
message: "Something happened at home!"
action_1_title: "Title"
action_1_key: "alarm"
action: "alarm"
_msgid: "3e0def51.4ade9"
Example Flow
Environment (please complete the following information):
Other (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: