Open andreaskuempel opened 11 months ago
Some Problem: Two solar inverters and no way to show the addition of both energy values.
- platform: template
sensors:
solar_energy_total:
friendly_name: "Solar Energie"
unit_of_measurement: 'kWh'
device_class: energy
value_template: "{{ (( states('sensor.solar_dach_energy') | float(0) + states('sensor.solar_womo_energy') | float(0) )) | float }}"
Doing the corresponding thing with power works without problems.
Hi; I have two solar converters and try to have them both in the solar view. In the original energy card it is possible to select them both. In the energy flow card plus, i can only add one entity. So I created a new entity which is the sum of both total energy entities of my converters. But in the solar field of the flow card plus the solar energy is everytime 0Wh. Please help me, I tried many things for hours, but it won't will work.
here is the code for my created sensor(sorry, i don't know how to add the code correctly to this message):