Skip to content

Commit

Permalink
fix(ChargingService): do not set all irrelevant cars to 0 W
Browse files Browse the repository at this point in the history
  • Loading branch information
pkuehnel committed Jun 1, 2022
1 parent 1a92aad commit 28743f2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions SmartTeslaAmpSetter/Server/Services/ChargingService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,6 @@ public async Task SetNewChargingValues(bool onlyUpdateValues = false)
_logger.LogTrace("Irrelevant cars: {@irrlevantCars}", irrelevantCars);

UpdateChargingPowerAtHome(geofence);


foreach (var car in irrelevantCars)
{
car.CarState.ChargingPowerAtHome = 0;
}

if (onlyUpdateValues)
{
Expand Down

0 comments on commit 28743f2

Please sign in to comment.