diff --git a/csharp/App/SaliMax/src/Ess/Controller.cs b/csharp/App/SaliMax/src/Ess/Controller.cs index 90ee95552..187212b67 100644 --- a/csharp/App/SaliMax/src/Ess/Controller.cs +++ b/csharp/App/SaliMax/src/Ess/Controller.cs @@ -15,7 +15,7 @@ public static class Controller { //return EssMode.OptimizeSelfConsumption; - return s.StateMachine.State != 16 ? EssMode.Off + return s.StateMachine.State != 23 ? EssMode.Off : s.MustHeatBatteries() ? EssMode.HeatBatteries : s.MustDoCalibrationCharge() ? EssMode.CalibrationCharge : s.MustReachMinSoc() ? EssMode.ReachMinSoc