Notification sous conditions

Bonsoir,

Petit update, voici mes 3 auto pour lave linge, seche linge et lave vaisselle

alias: Buanderie_Lave-linge
description: Gestion du lave-linge avec notification
triggers:
  - type: power
    device_id: 1bec050bc10fe6ac95ca8d58f34190a4
    entity_id: e40e5d60ea07611917073e0ed381b589
    domain: sensor
    below: 2
    for:
      hours: 0
      minutes: 1
      seconds: 0
    trigger: device
conditions: []
actions:
  - if:
      - condition: state
        entity_id: device_tracker.oneplus
        state: home
    then:
      - metadata: {}
        data:
          message: Le lave-linge a fini son cycle, vérifie-le !
        action: notify.mobile_app_oneplus
  - if:
      - condition: state
        entity_id: device_tracker.xiaomi
        state: home
    then:
      - action: notify.mobile_app_xiaomi
        metadata: {}
        data:
          message: Le lave-linge a fini son cycle, vérifie-le !
  - action: input_number.increment
    metadata: {}
    data: {}
    target:
      entity_id: input_number.lave_linge
mode: single
alias: Buanderie_Sèche linge
description: Gestion du sèche-linge avec notification unique et gestion à travers un helper
triggers:
  - type: power
    device_id: f8821df20119ef0cceb739a51f284b3e
    entity_id: 95403d94eb1ba6c8c44c7116bb7ed8df
    domain: sensor
    below: 3
    for:
      hours: 0
      minutes: 0
      seconds: 0
    trigger: device
conditions:
  - condition: state
    entity_id: input_boolean.notification_seche_linge
    state: "off"
actions:
  - if:
      - condition: state
        entity_id: device_tracker.oneplus
        state: home
    then:
      - action: notify.mobile_app_oneplus
        metadata: {}
        data:
          message: Le sèche-linge a fini son cycle, vérifie-le !
  - if:
      - condition: state
        entity_id: device_tracker.xiaomi
        state: home
    then:
      - action: notify.mobile_app_xiaomi
        metadata: {}
        data:
          message: Le sèche-linge a fini son cycle, vérifie-le !
  - action: input_number.increment
    data: {}
    target:
      entity_id: input_number.seche_linge
  - target:
      entity_id: input_boolean.notification_seche_linge
    action: input_boolean.turn_on
    data: {}
mode: single
alias: Gestion_Lave-vaisselle
description: ""
triggers:
  - trigger: state
    entity_id:
      - sensor.lave_vaisselle_operation_state
    from: ready
    to: run
    id: Démarrage lavage
    for:
      hours: 0
      minutes: 10
      seconds: 0
  - trigger: state
    entity_id:
      - sensor.lave_vaisselle_operation_state
    to: ready
    id: Arrêt lavage
  - trigger: state
    entity_id:
      - sensor.lave_vaisselle_door
    id: Ouverture porte
    to: open
conditions: []
actions:
  - choose:
      - conditions:
          - condition: trigger
            id:
              - Démarrage lavage
        sequence:
          - action: input_number.increment
            metadata: {}
            data: {}
            target:
              entity_id: input_number.lave_vaisselle
      - conditions:
          - condition: trigger
            id:
              - Arrêt lavage
          - condition: numeric_state
            entity_id: input_number.lave_vaisselle
            above: 0
        sequence:
          - if:
              - condition: state
                entity_id: device_tracker.oneplus
                state: home
            then:
              - action: notify.mobile_app_oneplus
                metadata: {}
                data:
                  message: Le lave-vaisselle est terminé ! Pensez à le vider.
          - if:
              - condition: state
                entity_id: device_tracker.xiaomi
                state: home
            then:
              - action: notify.mobile_app_xiaomi
                metadata: {}
                data:
                  message: Le lave-vaisselle est terminé ! Pensez à le vider.
      - conditions:
          - condition: trigger
            id:
              - Ouverture porte
          - condition: numeric_state
            entity_id: input_number.lave_vaisselle
            above: 0
        sequence:
          - action: input_number.set_value
            metadata: {}
            data:
              value: 0
            target:
              entity_id: input_number.lave_vaisselle
mode: single

Merci pour les infos