Skip to content

Instantly share code, notes, and snippets.

@oischinger
Created September 19, 2019 18:28
Show Gist options
  • Save oischinger/47e5bed189ae5e05fb76dacb5447b08e to your computer and use it in GitHub Desktop.
Save oischinger/47e5bed189ae5e05fb76dacb5447b08e to your computer and use it in GitHub Desktop.
Vicare heat curve target temperature
vicare_heatcurve_target_temperature:
friendly_name: "Vorlauftemperatur nach Heizkurve"
unit_of_measurement: '°C'
value_template: "{{ state_attr('climate.vicare_heating', 'temperature') + state_attr('climate.vicare_heating', 'heating_curve_shift') - state_attr('climate.vicare_heating', 'heating_curve_slope') * (state_attr('climate.vicare_heating', 'outside_temperature') - state_attr('climate.vicare_heating', 'temperature')) * (1.4347 + 0.021 * (state_attr('climate.vicare_heating', 'outside_temperature') - state_attr('climate.vicare_heating', 'temperature')) + 247.9 * 0.000001 * (state_attr('climate.vicare_heating', 'outside_temperature') - state_attr('climate.vicare_heating', 'temperature')) * (state_attr('climate.vicare_heating', 'outside_temperature') - state_attr('climate.vicare_heating', 'temperature'))) }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment