Tiffy86

WP Boost Management

Jul 15th, 2026
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.99 KB | Source Code | 0 0
  1. alias: WP Boost Management
  2. description: >-
  3.   Deaktiviert die MSM im Boost und übergibt das Ausschalten im Sommer direkt an
  4.   die MSM, im Winter nach der Abkühl-Kaskade.
  5. triggers:
  6.   - entity_id: input_boolean.wp_pv_boost
  7.     trigger: state
  8.     id: boost_schalter
  9.   - entity_id: input_number.wp_pv_boost_temp
  10.     trigger: state
  11.     id: temp_regler
  12.   - entity_id: input_select.heizungsmodus
  13.     trigger: state
  14.     id: modus_schalter
  15. conditions: []
  16. actions:
  17.   - variables:
  18.       at: "{{ states('sensor.outdoor_meter_53_temperatur') | float(0) }}"
  19.       boost_target: "{{ states('input_number.wp_pv_boost_temp') | float(0) }}"
  20.       heizkurve: "{{ states('number.heizkurve') | float(35) }}"
  21.       heizmodus: "{{ states('input_select.heizungsmodus') | lower | trim }}"
  22.   - choose:
  23.       - conditions:
  24.           - condition: state
  25.             entity_id: input_boolean.wp_pv_boost
  26.             state: "on"
  27.           - condition: template
  28.             value_template: "{{ heizmodus in ['heizen', 'heating'] }}"
  29.           - condition: template
  30.             value_template: "{{ boost_target > 42 }}"
  31.         sequence:
  32.           - action: switch.turn_on
  33.             target:
  34.               entity_id: switch.warmepumpe_ein_aus
  35.           - action: input_select.select_option
  36.             target:
  37.               entity_id: input_select.wp_state
  38.             data:
  39.               option: normal
  40.           - action: automation.turn_on
  41.             target:
  42.               entity_id: automation.warmepumpe_frequenzregelung_sanft
  43.           - target:
  44.               entity_id: input_number.heiztemperatur
  45.             data:
  46.               value: "{{ boost_target + 5.0 }}"
  47.             action: input_number.set_value
  48.           - target:
  49.               entity_id: automation.wp_master_state_machine
  50.             data:
  51.               stop_actions: true
  52.             action: automation.turn_off
  53.       - conditions:
  54.           - or:
  55.               - condition: template
  56.                 value_template: >-
  57.                   {{ trigger.id == 'boost_schalter' and
  58.                   is_state('input_boolean.wp_pv_boost', 'off') }}
  59.               - condition: template
  60.                 value_template: >-
  61.                   {{ trigger.id == 'modus_schalter' and heizmodus not in
  62.                   ['heizen', 'heating'] and
  63.                   is_state('input_boolean.wp_pv_boost', 'on') }}
  64.         sequence:
  65.           - choose:
  66.               - conditions:
  67.                   - condition: template
  68.                     value_template: "{{ at < 15 }}"
  69.                 sequence:
  70.                   - wait_template: "{{ states('sensor.vorlauf_stabil') | float(0) < 42.0 }}"
  71.                   - target:
  72.                       entity_id: input_number.heiztemperatur
  73.                     data:
  74.                       value: 42
  75.                     action: input_number.set_value
  76.                   - wait_template: >-
  77.                       {{ states('sensor.vorlauf_stabil') | float(0) < (heizkurve
  78.                       + 2.0) }}
  79.                     timeout: "01:00:00"
  80.                     continue_on_timeout: true
  81.                   - target:
  82.                       entity_id: automation.wp_master_state_machine
  83.                     action: automation.turn_on
  84.               - conditions:
  85.                   - condition: template
  86.                     value_template: "{{ at >= 15 }}"
  87.                 sequence:
  88.                   - action: input_number.set_value
  89.                     target:
  90.                       entity_id: input_number.sollfrequenz
  91.                     data:
  92.                       value: 20
  93.                   - action: input_select.select_option
  94.                     target:
  95.                       entity_id: input_select.wp_state
  96.                     data:
  97.                       option: normal
  98.                   - target:
  99.                       entity_id: automation.wp_master_state_machine
  100.                     action: automation.turn_on
  101.           - target:
  102.               entity_id: timer.wp_check
  103.             action: timer.start
  104. mode: restart
  105.  
Advertisement
Add Comment
Please, Sign In to add comment