My use case is usually for automating window blinds. The ultimate state of the blind is determined from time of day, temperature, position of the sun, what the tv is doing etc. This type of automation then has a heap of triggers when these events transition. So the TV might transition to OFF, but the state of the blind might be determined by the position of the sun.
2 options presented:
It would be quite convenient to be able to define some substitutions that can be used in triggers, conditions, and actions
Alternatively, it would be good if a trigger could be reinterpreted as a condition. Not the “Triggered by” conditions, but something that could produce a true of false value from one of the triggers. The following shows how similar triggers and conditions look: