sunsynk
sunsynk copied to clipboard
Set battery_max_charge_current based on a template value
Existing sensor definitions can be found here
Sunsynk
Details about your Inverter: 8 kw
Describe the issue/bug and what you expect
I'd like to set the based on the following template value battery_max_charge_current, so that during the 6 hour charge window the rate of charge is set based on the remaining battery level.
{{ (((100 - (states('sensor.sunsynk_battery_soc') | float))/100 * 9.2)/6*1000/48) | round }}
It looks like this is currently only set using a fixed number?
Logs (if applicable)
paste logs in 3x backticks...
any thoughts on this issue?
You can do this with an automation
make the automation to trigger every x minutes and then set the value based on the template