Skip to content

Commit

Permalink
feat(Program): log installation id as information
Browse files Browse the repository at this point in the history
  • Loading branch information
pkuehnel committed Jan 8, 2024
1 parent d16bb07 commit bbe90e4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion TeslaSolarCharger/Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@

var tscConfigurationService = app.Services.GetRequiredService<ITscConfigurationService>();
var installationId = await tscConfigurationService.GetInstallationId().ConfigureAwait(false);
logger.LogTrace("Installation Id: {installationId}", installationId);
logger.LogInformation("Installation Id: {installationId}", installationId);

var chargingCostService = app.Services.GetRequiredService<IChargingCostService>();
await chargingCostService.DeleteDuplicatedHandleCharges().ConfigureAwait(false);
Expand Down
1 change: 0 additions & 1 deletion TeslaSolarCharger/Server/Services/TeslaFleetApiService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ public async Task WakeUpCar(int carId)
var vin = await GetVinByCarId(carId).ConfigureAwait(false);
var result = await SendCommandToTeslaApi<DtoVehicleWakeUpResult>(vin, WakeUpRequest).ConfigureAwait(false);
await teslamateApiService.ResumeLogging(carId).ConfigureAwait(false);
//ToDo: Next line is never executed
await Task.Delay(TimeSpan.FromSeconds(20)).ConfigureAwait(false);
}

Expand Down

0 comments on commit bbe90e4

Please sign in to comment.