Hi,
I am trying to configure a sensor that shall show the heat exchange efficiency calculated from 3 other sensors in my HVAC system.
Cant quite figure out what to do. I have posted device class as humidity due to that also beein presented as %.
Can anyone help, thanks
template:
- sensor:
-
name: “heat exchange efficiency”
unit_of_measurement: “%”
state: >
{% set outdoor = states(‘sensor.outdoor_temperature’) | float %}
{% set inlet = states(‘sensor.inlet_temperature’) | float %}
{% set exhaust = states(‘sensor.exhaust_temperature’) | float %}{{ ((inlet + outdoor) / (exhaust + outdoor)) | round(1, default=0) }}
-