Files
HomeAssistant/NordPool.Manager/Interface/INordPoolPriceService.cs
T
gitea_admin 5777e641f6 Add shared test data builders and Qodana configuration
- Extract per-monitor *TestData helper classes and rework tests to use them
- Add boiler run-time tracker abstraction (implementation pending)
- Drop unused NordPool init/update-result types and stale PLAN.md
- Add qodana.yaml with the inspection set to keep the analysis focused
2026-11-29 21:30:13 +02:00

20 lines
526 B
C#

using NordPool.Models;
namespace NordPoolManager.Interface;
public interface INordPoolPriceService
{
NordPoolPrice? TodayNordPoolPrice { get; }
NordPoolPrice? TomorrowNordPoolPrice { get; }
double CurrentPrice { get; }
int DayQuartersIndex { get; }
DateTime? LastUpdatedDate { get; }
DateOnly? LastFetchedDate { get; }
Task FetchPricesAsync();
void UpdateCurrentPrice();
double GetCurrentPrice();
bool ShouldFetchNewPrices(DateOnly today);
void RollOverPrices(DateOnly today);
}