From 9b0e9a6ed3d806a6e712b3b85355e39fe7e24a32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20K=C3=BChnel?= Date: Mon, 29 Jan 2024 22:55:42 +0100 Subject: [PATCH] feat(PvValueService): log inverter power below 0 as information --- TeslaSolarCharger/Server/Services/PvValueService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TeslaSolarCharger/Server/Services/PvValueService.cs b/TeslaSolarCharger/Server/Services/PvValueService.cs index 06f64d63c..aa1f565f7 100644 --- a/TeslaSolarCharger/Server/Services/PvValueService.cs +++ b/TeslaSolarCharger/Server/Services/PvValueService.cs @@ -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;