I am using Solar Assistant to feed data to HA.
I have an 81 KW battery pack.
The monitor shows me SOC%
I would like to be able to see the KWh left in the battery as well by taking the battery size and multiplying it by the SOC…
I am somewhat new to HA and am not sure how to accomplish this.
1 Like
you can create a sensor for that.
go to helpers, create helper, choose template->sensor configed like this:
for the template yaml use something like this:
{{ states('sensor.your_battery_pack') | float / 100 * 80 }}
replace sensor.your_battery_pack with whatever is providing your soc%
and replace the 80 with your total battery kwh size
That worked PERFECT… Thank you