Hello,
I found here an interesting looking snipplet to control the heating and I wonder, which exactly rules are the output of the percent calculations in this automation. Can someone explain the rule in simple words? What, if it‘s 5 degrees C outside in combination with the other stuff?
service: climate.set_temperature
data_template:
temperature: >
{% if states('sensor.netatmo_mw_outside_temperature') | int > 25
%}
19
{% elif states('sensor.netatmo_mw_outside_temperature') | int >
15 %}
20
{% elif states('sensor.netatmo_mw_outside_temperature') | int >
0 and states('weather.home') | lower in ['sunny', 'partly cloudy', 'mostly
cloudy'] %}
22
{% elif states('sensor.netatmo_mw_outside_temperature') | int > 0 %}
23
{% else %}
24
{% endif %}
entity_id: 'climate.thermostat_5,climate.thermostat_6'