Skip to content

Instantly share code, notes, and snippets.

@derSchreifritz
Created March 3, 2023 18:10
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/ec9aa3426a7f1638dd54be0d2710051f to your computer and use it in GitHub Desktop.
Save derSchreifritz/ec9aa3426a7f1638dd54be0d2710051f to your computer and use it in GitHub Desktop.
tc0/tc3 according temp
alias: tc0/tc3 according temp
description: ""
trigger:
- platform: time_pattern
hours: /3
minutes: "1"
seconds: "1"
condition: []
action:
- choose:
- conditions:
- condition: numeric_state
entity_id: sensor.thermostat_dampedoutdoortemp
above: 10
sequence:
- service: number.set_value
data:
value: "5"
target:
entity_id: number.boiler_tempdiffheat
- conditions:
- condition: numeric_state
entity_id: sensor.thermostat_dampedoutdoortemp
above: 5
below: 10
sequence:
- service: number.set_value
data:
value: "6"
target:
entity_id: number.boiler_tempdiffheat
- conditions:
- condition: numeric_state
entity_id: sensor.thermostat_dampedoutdoortemp
above: 2
below: 5
sequence:
- service: number.set_value
data:
value: "7"
target:
entity_id: number.boiler_tempdiffheat
- conditions:
- condition: numeric_state
entity_id: sensor.thermostat_dampedoutdoortemp
above: 0
below: 2
sequence:
- service: number.set_value
data:
value: "7.5"
target:
entity_id: number.boiler_tempdiffheat
- conditions:
- condition: numeric_state
entity_id: sensor.thermostat_dampedoutdoortemp
below: 0
sequence:
- service: number.set_value
data:
value: "8"
target:
entity_id: number.boiler_tempdiffheat
mode: single
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment