Help with Automation adding identical condition

I have been running an automation for years that turns off all lights , heating down etc if everyone has left the house. However I also have a automation that turns on some lights when no-one is home when it het dark (sunset -10min).

Individually they work fine. However when I leave the house after it’s dark, all lights go out. As the ‘evening lights on automation’ has already triggered, it will not trigger again.

I think the simplest way to solve this is call the automation trigger service for the ‘evening lights on’ automation from my ‘away’ automation. However I will need to add a condition (as the trigger time has already past).

Can I add a condition to an automation that is identical to the trigger?

So change for example current:

  - alias: Evening_on
    trigger:
      platform: sun
      event: sunset
      offset: "-00:10:00"
    action:
      service: scene.turn_on
      entity_id: scene.evening_on

Into:

  - alias: Evening_on
    trigger:
      platform: sun
      event: sunset
      offset: "-00:10:00"
    condition:
      platform: sun
      event: sunset
    action:
      service: scene.turn_on
      entity_id: scene.evening_on

If I get it right, you want to activate ‘evening lights on’ when you leave home.

If that’s correct, you can use multiple triggers automation WITH a set of conditions.
Just add firing an event in your ‘away’ automation and trigger: platform: event as an additional trigger to your ‘evening lights on’ one.

Here’s my code (I have access to alarm state though so no event here):

- alias: '[presence simulation] turn ground floor hall light on'
  initial_state: true
  trigger:
    - platform: sun
      event: sunset
    - platform: state
      entity_id: alarm_control_panel.house
      from: 'pending'
      to: 'armed_away'
  condition:
    condition: and
    conditions:
      - condition: sun
        after: sunset
        after_offset: '-00:01:00'
      - condition: time
        before: '23:59:00'
      - condition: state
        entity_id: light.ground_floor_hall
        state: 'off'
  action:
    # turn the light on
    - service: light.turn_on
      data:
        entity_id: light.ground_floor_hall