I try to write a automation to handle all my iOS.notification_action_fired events. To in trigger I put all trigger I need. But how can I now use choose to do specify things when a condition is true? For input or other thing I can use state or similar. But how to do a condition on event data? With template maybe?
Found it myself, but if someone is interested how here you go.
In the Automation where the event for iOS is trigger use a template like this
{{trigger.event.data["actionName"] == "BAUMWOLLE_90" }}
and now you can use it in condition or choose actions
2 Likes