namespace NordPool.Models;
public static class NordPoolConsts
{
public static readonly string ConfigEntry = "01K9HYQE4Y0E7KC36JZV11MEXH";
///
/// NordPool electricity market uses 15-minute trading intervals.
///
public const int MinutesPerInterval = 15;
///
/// Number of 15-minute intervals in one hour.
///
public const int IntervalsPerHour = 4;
///
/// Maximum number of 15-minute intervals in a single day (96 = 24h * 4).
///
public const int MaxDailyIntervals = 96;
///
/// 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.
///
public const int MaxExpectedPriceEntries = 192;
public const string DeviceIdentifier = "nordpool";
public const string DeviceName = "NordPool";
public const string DeviceManufacturer = "HomeAssistant App Daemon";
///
/// Home Assistant entity id for the Nord Pool current price sensor published by this integration.
///
public const string CurrentPriceEntityId = "sensor.nordpool_current_price";
///
/// Maximum number of retry attempts when fetching prices from the NordPool API.
///
public const int MaxFetchRetryAttempts = 3;
///
/// Base delay in seconds between retry attempts (used with exponential backoff).
///
public const int RetryBaseDelaySeconds = 5;
}