Update
This commit is contained in:
@@ -33,4 +33,14 @@ public static class NordPoolConsts
|
||||
/// Home Assistant entity id for the Nord Pool current price sensor published by this integration.
|
||||
/// </summary>
|
||||
public const string CurrentPriceEntityId = "sensor.nordpool_current_price";
|
||||
|
||||
/// <summary>
|
||||
/// Maximum number of retry attempts when fetching prices from the NordPool API.
|
||||
/// </summary>
|
||||
public const int MaxFetchRetryAttempts = 3;
|
||||
|
||||
/// <summary>
|
||||
/// Base delay in seconds between retry attempts (used with exponential backoff).
|
||||
/// </summary>
|
||||
public const int RetryBaseDelaySeconds = 5;
|
||||
}
|
||||
Reference in New Issue
Block a user