Skip to content

Commit

Permalink
fix: restore batteryDischargeControl
Browse files Browse the repository at this point in the history
  • Loading branch information
naltatis committed Nov 22, 2023
1 parent f2afdc7 commit 419074f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/site.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ func (site *Site) restoreSettings() {
if v, err := settings.Float("site.smartCostLimit"); err == nil {
site.SmartCostLimit = v
}
if v, err := settings.Bool("site.batteryControl"); err == nil {
if v, err := settings.Bool("site.batteryDischargeControl"); err == nil {
site.BatteryDischargeControl = v
}
}
Expand Down

0 comments on commit 419074f

Please sign in to comment.