Use Trigger Data in automation Action

No, you’re right.

OK, that’s a good start. Please format code correctly for the forum (see here).

First step is to get the trigger working, done. Now we need to sort out your condition. Open up the automation trace for the last triggering, click Download Trace, and post the contents of that file here formatted as code, which you can do between a pair of three backticks, like this:

```
PASTE CODE HERE
```

Don’t worry if it’s long. That should show us the event data that the condition is looking at.

You can’t really do that with triggers and events. It’s useful for trying out templates working on faked-up data structures, though.

Let’s take a look at the automation trace when posted. May be able to convert it with |from_json or similar.