I have the same issue but on other lines; can you please help me as well?
- platform: template
sensors:
energy_total:
friendly_name: 'Total Energy'
entity_id:
- sensor.shelly_bv1_power
- sensor.shelly_bv2_power
- sensor.shelly_bv3_power
value_template: "{{ (states('sensor.shelly_bv1_power')|float + states('sensor.shelly_bv2_power')|float + states('sensor.shelly_bv3_power')|float)|round(3) }}"
unit_of_measurement: "W"
