Automation rule with conditions per trigger


Within an automation rule, is it possible to have multiple trigger with their respective conditions?
If yes what would be the format?
(I have tried unsuccessfully to indent the condition parameter to be part of the trigger (trigger being specific time and condition being some day of the week in my example).



You could use a regular template condition and use the available trigger data as seen here: to do something like:

    condition: template
    value_template: >
      {%- if(trigger.entity_id == 'xxx' -%}
        {{ states.sensor.something.state == "on" }}
      {%- elif(trigger.entity_id == 'yyy' -%}
        {{ states.sensor.somethin_else.state == "on" }}
      {%- endif -%}


Thank You. I will have a look.