Hi
I’ve created a few sensor_templates - but noticed, that the function round() doesn’t work anymore… ?!
# Calculation of Total Savings in €
solaredge_total_savings:
friendly_name: 'Total Savings €'
unit_of_measurement: '€'
value_template: >-
{{ states('sensor.solaredge_total_selfconsumption_kwh') * 28.20 / 100 | round(2) }}
can anyone give me an advice, what’s wrong here?
Thanks