Skip to content

Auto charge and discharge in apps.yaml creates and error #3714

@guyank

Description

@guyank

Describe the bug

I can no longer use auto charge and discharge battery power curves. I have populated the default curve and this is used correctly if I comment out the auto calculation line. When completed as below, the errors in the log are shown below.

battery_charge_power_curve: auto
battery_charge_power_curve_default:
91 : 0.91
92 : 0.81
93 : 0.71
94 : 0.62
95 : 0.52
96 : 0.43
97 : 0.33
98 : 0.24
99 : 0.24
100 : 0.24
battery_discharge_power_curve: auto
battery_discharge_power_curve_default:
20 : 1.0
14 : 0.98
13 : 0.92
12 : 0.92
11 : 0.9
10 : 0.82
9 : 0.82
8 : 0.73
7 : 0.74
6 : 0.65
5 : 0.62
4 : 0.62

Predbat version

8.35.1

Environment details

GivBat 5kW Gen 3 hybrid inverter and 9.6kWh battery

Log file

2026-03-31 22:59:46.075910: Warn: Validation of apps.yaml found configuration item 'battery_charge_power_curve' is not of type 'int_float_dict' value was auto
2026-03-31 22:59:46.075936: Warn: Validation of apps.yaml found configuration item 'battery_discharge_power_curve' is not of type 'int_float_dict' value was auto
2026-03-31 22:59:46.076289: Error: Validation of apps.yaml found 2 configuration errors

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions