Hi
Trying hard to get a subtraction value of 2 sensors into a Lovelace gauge card. I have a water heating system on solar panels and I like to know the delta T between outgoing and ingoing T.
This is what I put into it:
‘’’
type: gauge
sensor:
- platform: template
sensors:
delta_t_solar_heating:
friendly_name: Delta T
unit_of_measurement: C
value_template: >- {{(states(‘sensor.sonoff_1000bee0f9_temperature’) | float | round(1)) - (states(‘sensor.sonoff_1000bee815_temperature’) | float | round(1))}}
entity: sensor.delta_t_solar_heating
min: 0
max: 5
name: Delta T Solar Heating
‘’’
I get entity not available. Not a big surprise but what am I doing wrong here?