Here’s from one of my template sensors:
{{ (states('input_number.6900_upstairs_hvac_on_threshold') | float)*-1 }}
Would test in the /developer-tools/template section to confirm intended behavior.
Here’s from one of my template sensors:
{{ (states('input_number.6900_upstairs_hvac_on_threshold') | float)*-1 }}
Would test in the /developer-tools/template section to confirm intended behavior.