Skip to content

Instantly share code, notes, and snippets.

@derSchreifritz
Created March 3, 2023 18:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save derSchreifritz/6276723c0026036a3d8ca8ccbe54058b to your computer and use it in GitHub Desktop.
Save derSchreifritz/6276723c0026036a3d8ca8ccbe54058b to your computer and use it in GitHub Desktop.
alias: softstart3.0
description: throttle, then min flow back to normal
trigger:
- platform: state
entity_id:
- sensor.boiler_hpactivity
to: heating
for:
hours: 0
minutes: 0
seconds: 0
id: heat on
enabled: true
from: none
condition: []
action:
- service: number.set_value
target:
entity_id: number.thermostat_hc1_minflowtemp
data:
value: "20"
- delay:
hours: 0
minutes: 10
seconds: 0
milliseconds: 0
enabled: true
- if:
- condition: not
conditions:
- condition: numeric_state
entity_id: sensor.boiler_hppower
below: 4
then:
- wait_for_trigger:
- platform: numeric_state
entity_id: sensor.boiler_hppower
below: 4
- service: number.set_value
target:
entity_id: number.thermostat_hc1_minflowtemp
data:
value: "22"
- delay:
hours: 0
minutes: 0
seconds: 35
milliseconds: 0
- if:
- condition: not
conditions:
- condition: numeric_state
entity_id: sensor.hystereses_currentflow_targetflow
above: 100
then:
- wait_for_trigger:
- platform: numeric_state
entity_id: sensor.hystereses_currentflow_targetflow
above: 100
enabled: true
- platform: state
entity_id:
- input_boolean.min_pos_switch
to: "off"
- service: number.set_value
target:
entity_id: number.thermostat_hc1_minflowtemp
data:
value: "24"
mode: single
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment