Advertisement
Hoekeren75

Varmepumpe aften

Nov 21st, 2024
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.16 KB | None | 0 0
  1. alias: Varmepumpe aften
  2. description: "Automationen starter varmepumpen, når temperaturen er under 22,5 °C og kun mellem kl. 17:00 og 21:00. Den stopper varmepumpen, når temperaturen overstiger 25 °C, uanset tidspunkt."
  3. trigger:
  4.   - platform: numeric_state
  5.     entity_id: sensor.dfcb1e1aab931144ee727f71d7d256d9
  6.     below: 22.5
  7.     id: temp_under_22_5
  8.   - platform: numeric_state
  9.     entity_id: sensor.dfcb1e1aab931144ee727f71d7d256d9
  10.     above: 25
  11.     id: temp_over_25
  12. action:
  13.   - choose:
  14.       - conditions:
  15.           - condition: trigger
  16.             id: temp_under_22_5
  17.           - condition: time
  18.             after: "17:00:00"
  19.             before: "21:00:00"
  20.         sequence:
  21.           - service: climate.set_hvac_mode
  22.             target:
  23.               entity_id: climate.318f2c38bcb9b674d9d88770262df5d9
  24.             data:
  25.               hvac_mode: heat
  26.       - conditions:
  27.           - condition: trigger
  28.             id: temp_over_25
  29.         sequence:
  30.           - service: climate.set_hvac_mode
  31.             target:
  32.               entity_id: climate.318f2c38bcb9b674d9d88770262df5d9
  33.             data:
  34.               hvac_mode: "off"
  35. mode: single
  36.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement