Hi,
I have a modbus tcp sensor from my hvac giving me a value between 0-255. Is it possible to make a template that inverses the value to 255-0 instead?
I’m planning to control a 0 -10v fan but need to invert the signal.
- sensor:
- name: "Heat/cold percent"
unit_of_measurement: "%"
state: >
{{ ((states('sensor.current_heat_cold_recovery_power')|int / 2.55))|round(0) }}
1 post - 1 participant