I create a code in Automation Action section which change a angle of heating curve by multiplier - see below.
Ex: When temperature is 10degree C multiplier x2 = 10degree C to close the valve by ESP32 servo.
This solution has impact for both case: when temp is very high and very low as well.
How change code below be able to change 2 point separately: temperature below 0degree C and above 0degreeC. Simply: I’d like to get heating curve function.
target:
entity_id: number.esp32valve_position
data:
value: >
{% set temperature_multiplier = states('input_number.heating_curve') |
float(0) %} {% set adjusted_temperature =
states('sensor.zamel_exta_life_rct_21_outside_temp') | float(0) %} {{
(adjusted_temperature * temperature_multiplier) | round(0) }}
action: number.set_value
Example multiplier x2:
Example multiplier x0.2: