Help to trigger some cascading sensors that may or may not change value

I have searched but have been unable to find an answer, perhaps as it is too simple or just not possible (?)

I have basically the following cascading sensors that based on the actions within may or may not trigger … I am looking for a way to trigger them without using delays so they flow after the last one has been evaluated?

template:
  - trigger:
      - trigger: time_pattern
        minutes: /10
    # action: # none
    sensor:
      - name: step 1
        state: >-
            {# jinja happens here #}

  - trigger:
      - trigger:  #???  1st trigger I am missing how to achieve - how do I trigger this after step_2 has been evaluated but maybe does not change value?
    # action: # none
      - name: step 3
        state: >-
            {# jinja logic happens here, but it depends on step 2 but maybe it does not change value #}

   - trigger:
      - trigger:  #??? 2nd trigger I am missing how to achieve - how do I trigger this after step_3 has been evaluated but maybe does not change value?
    action: 
      - variables:
          results: >  
            {# jinja logic happens here to define result of step 4 and its attributes #}
   sensor:
     - name: step 4

sensor:
    - platform: step 2
      entity_id: sensor.senor_1
      state_characteristic: value_max
      max_age:
        hours: 24

any ideas or recommendations are appreciated!

Add an attribute that that gets its value from now(), then have the next step trigger off that attribute’s change.

1 Like

ahhhhhhh of course!!!

thanks!!