From a14fb65be36b2e097b2928ef92fc9f0ae314dc48 Mon Sep 17 00:00:00 2001 From: Marius Date: Thu, 19 Mar 2026 16:46:21 +0200 Subject: [PATCH] fix: reset current price state to empty string instead of "0" --- NordPool.Manager/NordPoolEntityService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NordPool.Manager/NordPoolEntityService.cs b/NordPool.Manager/NordPoolEntityService.cs index 8776315..92201ff 100644 --- a/NordPool.Manager/NordPoolEntityService.cs +++ b/NordPool.Manager/NordPoolEntityService.cs @@ -84,7 +84,7 @@ public sealed class NordPoolEntityService(IEntityManager entityManager, ILogger< private async Task ResetCurrentPriceAsync() { - await SetEntityStateSafe(CurrentPriceEntityId, "0").ConfigureAwait(false); + await SetEntityStateSafe(CurrentPriceEntityId, string.Empty).ConfigureAwait(false); await SetEntityAttributesSafe(CurrentPriceEntityId, new { unit_of_measurement = (string?)null,