Geräte über den Stromverbrauch überwachen

sorry, aber ich habe die Automation „Warnung: bitte prüfen!“ total vergessen, die das Licht im Flur blinken lässt:

Name: Warnung: bitte prüfen!

Automation im Editor:

Automation im Yaml-Code:

alias: "Warnung: bitte prüfen!"
description: ""
triggers:
  - trigger: state
    entity_id:
      - input_boolean.wichtige_warnmeldung
    to:
      - "on"
    id: blink
  - trigger: state
    entity_id:
      - input_boolean.presence_flur
    to:
      - "on"
conditions: []
actions:
  - if:
      - condition: and
        conditions:
          - condition: state
            entity_id: input_boolean.wichtige_warnmeldung
            state:
              - "on"
          - condition: state
            entity_id: input_boolean.presence_flur
            state:
              - "on"
    then:
      - action: light.turn_on
        metadata: {}
        data:
          flash: long
        target:
          entity_id: light.hue_white_luster_1
    else:
      - action: light.turn_off
        metadata: {}
        target:
          entity_id: light.hue_white_luster_1
        data: {}
mode: single

VG Micha