feat: migrate boiler control implementation to BoilerMonitor namespace and add budget handling logic

This commit is contained in:
Marius
2026-03-24 15:29:59 +02:00
parent c4015277a3
commit 11c2574235
61 changed files with 3250 additions and 728 deletions
+16 -2
View File
@@ -9,14 +9,28 @@ public static class NordPoolConsts
/// </summary>
public const int MinutesPerInterval = 15;
/// <summary>
/// Number of 15-minute intervals in one hour.
/// </summary>
public const int IntervalsPerHour = 4;
/// <summary>
/// Maximum number of 15-minute intervals in a single day (96 = 24h * 4).
/// </summary>
public const int MaxDailyIntervals = 96;
/// <summary>
/// Maximum expected price entries when today and tomorrow are both available
/// (96 intervals per day x 2 days). Used for logging a warning if exceeded.
/// </summary>
public const int MaxExpectedPriceEntries = 192;
public const string DeviceIdentifier = "nordpool";
public const string DeviceName = "NordPool";
public const string DeviceManufacturer = "HomeAssistant App Daemon";
/// <summary>
/// Power threshold in watts below which the boiler is considered to have finished heating (water ready).
/// Home Assistant entity id for the Nord Pool current price sensor published by this integration.
/// </summary>
public const double WaterReadyPowerThresholdWatts = 5.0;
public const string CurrentPriceEntityId = "sensor.nordpool_current_price";
}