Untitled

 avatar
unknown
plain_text
2 years ago
1.2 kB
18
Indexable
alias: Thermostaat PRESETS
description: |-
  Preset ECO zodra weg
  Preset None (weer terug naar verwarming) als terug.
trigger:
  - platform: numeric_state
    entity_id: proximity.home
    above: 2
    id: Leaving home
  - platform: numeric_state
    entity_id: proximity.home
    below: 2
    id: Approaching home
condition: []
action:
  - choose:
      - conditions:
          - condition: trigger
            id: Leaving home
        sequence:
          - service: climate.set_preset_mode
            data:
              preset_mode: eco
            target:
              entity_id: climate.family_room
          - service: notify.notify
            data:
              title: Kachel ECO
              message: Beide weg. Kachel op ECO-temperatuur (preset ECO)
      - conditions:
          - condition: trigger
            id: Approaching home
        sequence:
          - service: climate.set_preset_mode
            data:
              preset_mode: none
            target:
              entity_id: climate.family_room
          - service: notify.notify
            data:
              title: Kachel aan
              message: "Volgens programma (preset: None)"
mode: single
Editor is loading...