Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: WP Boost Management
- description: >-
- Deaktiviert die MSM im Boost und übergibt das Ausschalten im Sommer direkt an
- die MSM, im Winter nach der Abkühl-Kaskade.
- triggers:
- - entity_id: input_boolean.wp_pv_boost
- trigger: state
- id: boost_schalter
- - entity_id: input_number.wp_pv_boost_temp
- trigger: state
- id: temp_regler
- - entity_id: input_select.heizungsmodus
- trigger: state
- id: modus_schalter
- conditions: []
- actions:
- - variables:
- at: "{{ states('sensor.outdoor_meter_53_temperatur') | float(0) }}"
- boost_target: "{{ states('input_number.wp_pv_boost_temp') | float(0) }}"
- heizkurve: "{{ states('number.heizkurve') | float(35) }}"
- heizmodus: "{{ states('input_select.heizungsmodus') | lower | trim }}"
- - choose:
- - conditions:
- - condition: state
- entity_id: input_boolean.wp_pv_boost
- state: "on"
- - condition: template
- value_template: "{{ heizmodus in ['heizen', 'heating'] }}"
- - condition: template
- value_template: "{{ boost_target > 42 }}"
- sequence:
- - action: switch.turn_on
- target:
- entity_id: switch.warmepumpe_ein_aus
- - action: input_select.select_option
- target:
- entity_id: input_select.wp_state
- data:
- option: normal
- - action: automation.turn_on
- target:
- entity_id: automation.warmepumpe_frequenzregelung_sanft
- - target:
- entity_id: input_number.heiztemperatur
- data:
- value: "{{ boost_target + 5.0 }}"
- action: input_number.set_value
- - target:
- entity_id: automation.wp_master_state_machine
- data:
- stop_actions: true
- action: automation.turn_off
- - conditions:
- - or:
- - condition: template
- value_template: >-
- {{ trigger.id == 'boost_schalter' and
- is_state('input_boolean.wp_pv_boost', 'off') }}
- - condition: template
- value_template: >-
- {{ trigger.id == 'modus_schalter' and heizmodus not in
- ['heizen', 'heating'] and
- is_state('input_boolean.wp_pv_boost', 'on') }}
- sequence:
- - choose:
- - conditions:
- - condition: template
- value_template: "{{ at < 15 }}"
- sequence:
- - wait_template: "{{ states('sensor.vorlauf_stabil') | float(0) < 42.0 }}"
- - target:
- entity_id: input_number.heiztemperatur
- data:
- value: 42
- action: input_number.set_value
- - wait_template: >-
- {{ states('sensor.vorlauf_stabil') | float(0) < (heizkurve
- + 2.0) }}
- timeout: "01:00:00"
- continue_on_timeout: true
- - target:
- entity_id: automation.wp_master_state_machine
- action: automation.turn_on
- - conditions:
- - condition: template
- value_template: "{{ at >= 15 }}"
- sequence:
- - action: input_number.set_value
- target:
- entity_id: input_number.sollfrequenz
- data:
- value: 20
- - action: input_select.select_option
- target:
- entity_id: input_select.wp_state
- data:
- option: normal
- - target:
- entity_id: automation.wp_master_state_machine
- action: automation.turn_on
- - target:
- entity_id: timer.wp_check
- action: timer.start
- mode: restart
Advertisement
Add Comment
Please, Sign In to add comment