Hi there,
I tested a template in template editor and it returned the correct values:
value_template: >
{{ states('sensor.hc1_supplytemperaturesetpoint') | int > 35 and states('sensor.hc1_actual_supply_temperature_for_hc') | int > 25 }}
availability: >
{{ not is_state('sensor.hc1_supplytemperaturesetpoint', 'unavailable') and not is_state('sensor.hc1_actual_supply_temperature_for_hc', 'unavailable') }}
however, I tried to input it into the GUI of a new binary_sensor tempalte and got
“Translation error: MALFORMED_ARGUMENT”
And the template shows Normal whatever condition is met.
what did I do wrong?
Kind regards
Nils