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
I have an automation setup that listens for dahua_event_received events.
So far, all dahua_event_received events except one came with the correct format. However, there was a single event where trigger.event.data.data was sent as a string (JSON), and my automation could not process it - it expected the object to be sent, not a "flat" string. This is strange - both events are posted below.
Below I am pasting two automation traces: first one where valid event was received and the second one with malformed data.
The correct event that is usually fired by this dahua integration:
I have an automation setup that listens for
dahua_event_received
events.So far, all
dahua_event_received
events except one came with the correct format. However, there was a single event wheretrigger.event.data.data
was sent as astring
(JSON), and my automation could not process it - it expected the object to be sent, not a "flat" string. This is strange - both events are posted below.Below I am pasting two automation traces: first one where valid event was received and the second one with malformed
data
.The correct event that is usually fired by this dahua integration:
The malformed event that was sent once by this dahua integration: (notice difference in key
trigger.event.data.data
between this and above event)The text was updated successfully, but these errors were encountered: