Skip to content

Commit

Permalink
feat(PvValueService): log inverter power below 0 as information
Browse files Browse the repository at this point in the history
  • Loading branch information
pkuehnel committed Jan 29, 2024
1 parent 3e4cc1d commit 9b0e9a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TeslaSolarCharger/Server/Services/PvValueService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public async Task UpdatePvValues()
patternType, xmlAttributeHeaderName, xmlAttributeHeaderValue, xmlAttributeValueName).ConfigureAwait(false);
if (inverterPower < 0)
{
_logger.LogWarning("Inverterpower is below 0: {inverterPower}, using -1 for further purposes", inverterPower);
_logger.LogInformation("Inverterpower is below 0: {inverterPower}, using -1 for further purposes", inverterPower);
inverterPower = -1;
}
_settings.InverterPower = inverterPower;
Expand Down

0 comments on commit 9b0e9a6

Please sign in to comment.