feat: migrate boiler control implementation to BoilerMonitor namespace and add budget handling logic
This commit is contained in:
@@ -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";
|
||||
}
|
||||
Reference in New Issue
Block a user