feat: migrate boiler control implementation to BoilerMonitor namespace and add budget handling logic
This commit is contained in:
@@ -5,7 +5,9 @@ public static class NordPoolDayPriceExtensions
|
||||
public static List<CompactNordPoolDayPrice> ToCompact(this IEnumerable<NordPoolDayPrice>? prices)
|
||||
{
|
||||
if (prices is null)
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
return prices.Select(CompactNordPoolDayPrice.FromDayPrice).ToList();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user