github marq24/ha-evcc 2026.7.5
Battery optimizer object mapped to HA (Battery SOC Sensor attributes)

5 hours ago

##Optimizer data available in Battery SOC Sensors (per Battery)
As requested in evcc-io/evcc#32221 (comment), the evcc HA integration now provide the sugestion object of a battery [http://evcc.local:7070/api/state?jq=.battery.devices[0].suggestion] as device attribute of the entity. So you can use this data (IF provided by evcc) in any of your automations.

Please note, that not all batteries are supporting optimizer suggestions - at least I can tell you that the sample query above is returning null in my own evcc setup.

And of cours eit must be mentioned, that this is in the multi-battery-entities. These entities are disabled by default! So please check, if you have enabled sensor.evcc_battery_0_soc [sensor.evcc_battery_1_soc, sensor.evcc_battery_2_soc, sensor.evcc_battery_3_soc] in order to be able to access the attribute suggestion.

Please consider supporting me

Thanks to those who have already supported me in the past weeks or month that is highly appreciated! To the other users of this integration: I am putting quite an amount of energy and passion into this integration. Perhaps you could give yourself a little push (if you can afford it) and become a sponsor.

GithubSponsor Wero Wise Revolut PayPal BuyMeCoffee Github Stars

If you haven't starred this integration in Github yet - please do so - TIA

Don't miss a new ha-evcc release

NewReleases is sending notifications on new releases.