HI good people.
I want to add two PV panels power output together and show that as one gauge on the UI.
I have created this code in the template editor:
template:
- sensor:
- name: "Total Charging Power"
unit_of_measurement: "W"
device_class: power
state: >
{{ [ states('sensor.solarsynk_2403258282_pv1_power'),
states('sensor.solarsynk_2403258282_pv2_power') ]
| map('float') | sum }}
availability: >
{{ not 'unavailable' in
[ states('sensor.inverter1qpigs_pv1_charging_power'),
states('sensor.inverter2qpigs_pv2_charging_power') ] }}
On the right hand side it gave me this result:
template:
- sensor:
- name: "Total Charging Power"
unit_of_measurement: "W"
device_class: power
state: >
4702.0
availability: >
True
What do I do now? I can not find “Total Charging Power” in my entities. I am sure I need to create the sensor still, but I am not sure where or how.
Thanks