Guest User

Untitled

a guest
Jan 17th, 2026
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.71 KB | None | 0 0
  1. alias: Klimaanlage intelligent mit Sonne Zeit und Hysterese
  2. mode: single
  3. triggers:
  4.   - id: sunset
  5.     event: sunset
  6.     trigger: sun
  7.   - id: evening_fallback
  8.     at: "18:00:00"
  9.     trigger: time
  10.   - id: morning_reduce
  11.     at: "10:00:00"
  12.     trigger: time
  13.   - id: cold_stable
  14.     entity_id: sensor.mareike_outdoor_temperature
  15.     below: -1
  16.     for: "00:10:00"
  17.     trigger: numeric_state
  18.   - id: mild_stable
  19.     entity_id: sensor.mareike_outdoor_temperature
  20.     above: 1
  21.     below: 19
  22.     for: "00:10:00"
  23.     trigger: numeric_state
  24.   - id: warm_stable
  25.     entity_id: sensor.mareike_outdoor_temperature
  26.     above: 21
  27.     for: "00:10:00"
  28.     trigger: numeric_state
  29.   - id: room_too_cold
  30.     entity_id: climate.57a18c41e9d728829b73a45b811286a1
  31.     attribute: current_temperature
  32.     below: 10
  33.     for: "00:05:00"
  34.     trigger: numeric_state
  35. actions:
  36.   - choose:
  37.       - conditions:
  38.           - condition: trigger
  39.             id: morning_reduce
  40.         sequence:
  41.           - target:
  42.               entity_id: climate.57a18c41e9d728829b73a45b811286a1
  43.             action: climate.turn_off
  44.       - conditions:
  45.           - condition: trigger
  46.             id: room_too_cold
  47.           - condition: time
  48.             after: "10:00:00"
  49.             before: "18:00:00"
  50.         sequence:
  51.           - data:
  52.               hvac_mode: heat
  53.             target:
  54.               entity_id: climate.57a18c41e9d728829b73a45b811286a1
  55.             action: climate.set_hvac_mode
  56.           - data:
  57.               temperature: 21
  58.             target:
  59.               entity_id: climate.57a18c41e9d728829b73a45b811286a1
  60.             action: climate.set_temperature
  61.       - conditions:
  62.           - condition: time
  63.             after: "18:00:00"
  64.             before: "10:00:00"
  65.         sequence:
  66.           - choose:
  67.               - conditions:
  68.                   - condition: numeric_state
  69.                     entity_id: sensor.mareike_outdoor_temperature
  70.                     below: -1
  71.                 sequence:
  72.                   - data:
  73.                       hvac_mode: heat
  74.                     target:
  75.                       entity_id: climate.57a18c41e9d728829b73a45b811286a1
  76.                     action: climate.set_hvac_mode
  77.                   - data:
  78.                       temperature: 25
  79.                     target:
  80.                       entity_id: climate.57a18c41e9d728829b73a45b811286a1
  81.                     action: climate.set_temperature
  82.               - conditions:
  83.                   - condition: numeric_state
  84.                     entity_id: sensor.mareike_outdoor_temperature
  85.                     above: 1
  86.                     below: 19
  87.                 sequence:
  88.                   - data:
  89.                       hvac_mode: heat
  90.                     target:
  91.                       entity_id: climate.57a18c41e9d728829b73a45b811286a1
  92.                     action: climate.set_hvac_mode
  93.                   - data:
  94.                       temperature: 23
  95.                     target:
  96.                       entity_id: climate.57a18c41e9d728829b73a45b811286a1
  97.                     action: climate.set_temperature
  98.               - conditions:
  99.                   - condition: numeric_state
  100.                     entity_id: sensor.mareike_outdoor_temperature
  101.                     above: 21
  102.                 sequence:
  103.                   - data:
  104.                       hvac_mode: cool
  105.                     target:
  106.                       entity_id: climate.57a18c41e9d728829b73a45b811286a1
  107.                     action: climate.set_hvac_mode
  108.                   - data:
  109.                       temperature: 20
  110.                     target:
  111.                       entity_id: climate.57a18c41e9d728829b73a45b811286a1
  112.                     action: climate.set_temperature
Advertisement
Add Comment
Please, Sign In to add comment