Skip to content

Instantly share code, notes, and snippets.

@derSchreifritz
Last active May 2, 2023 12: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/ef9c4d2fd5a9aafe7263fda19d205207 to your computer and use it in GitHub Desktop.
Save derSchreifritz/ef9c4d2fd5a9aafe7263fda19d205207 to your computer and use it in GitHub Desktop.
softstart
alias: softstart
description: start with min flow 20, 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:
- condition: numeric_state
entity_id: sensor.thermostat_dampedoutdoortemp
above: 7
enabled: true
action:
- service: number.set_value
target:
entity_id: number.thermostat_hc1_minflowtemp
data:
value: "20"
- delay:
hours: 0
minutes: 10
seconds: 0
milliseconds: 0
- wait_for_trigger:
- platform: numeric_state
entity_id: sensor.boiler_hppower
below: 5
timeout:
hours: 0
minutes: 20
seconds: 0
milliseconds: 0
#optional: selfmade hystereses sensor, there were some examples in the forum
- wait_for_trigger:
- platform: numeric_state
entity_id: sensor.hystereses_currentflow_targetflow
above: 50
timeout:
hours: 0
minutes: 20
seconds: 0
milliseconds: 0
- service: number.set_value
target:
entity_id: number.thermostat_hc1_minflowtemp
data:
value: "27"
mode: single
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment