Extracting a line from a list in an automation

You seem to be describing what are sometimes called “trigger-attached” variables. Those are generally meant for cases where each trigger needs it’s own distinct conditional logic. There are a number of places you can set up variables in an automation depending on how you need to use them. For your described use I would suggest creating a general variables block at the same level as triggers, conditions, and actions.

1 Like