Automation kurzeitig abbrechen dann weiterausführen

Hallo Community,
ich möchte folgende Automation bearbeiten doch ich komme nicht mehr weiter.
Vielleicht könnt Ihr mir dabei weiterhelfen?
In meinem TV-Zimmer habe ich ein Ambiente-Licht hinter dem Fernseher. Das Licht wird durch Automation geschalten. Wenn der Fernseher AN ist gehe die Lichte an, bei Fernseher AUS gehen die Lichte aus. Jetzt aber folgendes: Wenn jemand das “große Deckenlicht” im Zimmer zwischendurch einschaltet möchte ich, dass das Ambiente-Licht aus geht, und dann wenn das “große Deckenlicht” wieder aus ist, soll die Automation für Ambiente-Licht weiterlaufen. Das “große Deckenlicht” ist mit Shelly gesteuert. Hat jemand eine Idee?
Hier meine Automation zum Schalten des Ambiente-Lichts.

alias: TV Abi Light NEU
description: ""
trigger:
  - platform: state
    entity_id:
      - input_boolean.tv_schalter
    from: "off"
    to: "on"
    for:
      hours: 0
      minutes: 0
      seconds: 5
    id: Licht an
  - platform: state
    entity_id:
      - input_boolean.tv_schalter
    from: "on"
    to: "off"
    id: Licht aus
condition: []
action:
  - choose:
      - conditions:
          - condition: and
            conditions:
              - condition: trigger
                id:
                  - Licht an
              - condition: state
                entity_id: binary_sensor.tv_zimmer_dunkel
                state: "on"
        sequence:
          - service: light.turn_on
            data:
              color_name: darkorchid
              brightness_pct: 100
            target:
              entity_id: light.tv_ambi_light
      - conditions:
          - condition: trigger
            id:
              - Licht aus
          - condition: state
            entity_id: light.tv_ambi_light
            state: "on"
        sequence:
          - delay:
              hours: 0
              minutes: 0
              seconds: 50
              milliseconds: 0
          - service: light.turn_off
            data: {}
            target:
              entity_id: light.tv_ambi_light
mode: single

Zum Ausschalten des Ambiente-Lichts habe ich diese Automation erstellt, doch dann geht die Automation von Ambiente-Licht nicht mehr weiter:

alias: TV Ami Light aus bei Licht
description: ""
trigger:
  - platform: state
    entity_id:
      - light.fernsehzimmer_switch_0
    from: "off"
    to: "on"
condition: []
action:
  - service: light.turn_off
    data: {}
    target:
      entity_id: light.tv_ambi_light
mode: single

Du müsstest bei der 2. Automation ja auch wieder das Einschalten des TV Lichtes “programmieren”. So ungefähr (ungetestet):

description: ""
mode: single
trigger:
  - platform: state
    entity_id:
      - light.wohnzimmerlampe
    from: "off"
    to: "on"
    id: lampe-an
  - platform: state
    entity_id:
      - light.wohnzimmerlampe
    from: "on"
    to: "off"
    id: lampe-aus
condition: []
action:
  - choose:
      - conditions:
          - condition: trigger
            id:
              - lampe-an
          - condition: state
            entity_id: light.tv_ambi_light
            state: "on"
        sequence:
          - service: light.turn_off
            metadata: {}
            data: {}
            target:
              entity_id: light.tv_ambi_light
      - conditions:
          - condition: trigger
            id:
              - lampe-aus
          - condition: state
            entity_id: input_boolean.tv_schalter
            state: "on"
          - condition: state
            entity_id: binary_sensor.tv_zimmer_dunkel
            state: "on" 
       sequence:
          - service: light.turn_on
            metadata: {}
            data: {}
            target:
              entity_id: light.tv_ambi_light

1 „Gefällt mir“

Vielen herzlichen Dank!
Funktioniert fantastisch.