Add feature to changing SOC method in UI on BYD Atto3

This commit is contained in:
freddanastrom 2025-06-07 10:15:55 +02:00
parent c450de308f
commit c6363f9467
5 changed files with 44 additions and 13 deletions

View file

@ -56,6 +56,12 @@ std::vector<BatteryCommand> battery_commands = {
[](Battery* b) {
b->reset_SOH();
}},
{"changeSOC", "Change SOC method",
"change SOC method? This will toggle between ESTIMATED and MEASURED SOC methods.",
[](Battery* b) { return b && b->supports_change_SOC_method(); },
[](Battery* b) {
b->change_SOC_method();
}},
};
String advanced_battery_processor(const String& var) {