I'm trying to modify the field "orp_setpoint" in custom:pool-monitor-card
I replaced orp_setpoint with orp_setpoint_template and then I tried different syntaxes, without sucess.
In the place of "MY TEMPLATE", I tried to apply following syntaxes,but none was sucessful.
Did I miss something??:
Isn't it supposed to work with custom cards?
{{ 792 if states('sensor.analyseur_d_eau_ph')|round(1)==7 else
785 if states('sensor.analyseur_d_eau_ph')|round(1)==7.1 else
779 if states('sensor.analyseur_d_eau_ph')|round(1)==7.2 else
773 if states('sensor.analyseur_d_eau_ph')|round(1)==7.3 else
766 if states('sensor.analyseur_d_eau_ph')|round(1)==7.4 else
760 if states('sensor.analyseur_d_eau_ph')|round(1)==7.5 else
754 if states('sensor.analyseur_d_eau_ph')|round(1)==7.6 else
748 if states('sensor.analyseur_d_eau_ph')|round(1)==7.7 else 766}}
I'm trying to modify the field "orp_setpoint" in custom:pool-monitor-card I replaced orp_setpoint with orp_setpoint_template and then I tried different syntaxes, without sucess.
In the place of "MY TEMPLATE", I tried to apply following syntaxes,but none was sucessful. Did I miss something??: Isn't it supposed to work with custom cards?