Automation mit AirQ und Philips Air Purifier

conditions:
  - condition: zone
    entity_id: person.xxx
    zone: zone.home

Die von Dir gesetzte Bedingung ist zu weit oben angesetzt. Sie gilt für alle Trigger also auch für die, die das Ausschalten bewirken sollen. Die gehen aber nur wenn Person zu Hause ist.

Setze die Condition tiefer

  - if:
      - condition: and
        conditions:
          - condition: or
            conditions:
              - condition: numeric_state
                entity_id: sensor.airq_pm1
                above: 4
              - condition: numeric_state
                entity_id: sensor.airq_pm2_5
                above: 15
              - condition: numeric_state
                entity_id: sensor.airq_pm10
                above: 40
              - condition: numeric_state
                entity_id: sensor.airq_vocs
                above: 700
          - condition: zone
            entity_id: person.xxx
            zone: zone.home
    then:
      - service: fan.turn_on
        target:
          entity_id: fan.dein_airplus_entity_id
1 „Gefällt mir“