20 lines
632 B
C#
20 lines
632 B
C#
namespace HomeAssistant.HistoryReplay.Configuration;
|
|
|
|
public sealed class ReplayOptions
|
|
{
|
|
public const string SectionName = "Replay";
|
|
|
|
public DateTimeOffset StartTime { get; set; } = DateTimeOffset.UtcNow.AddDays(-1);
|
|
public DateTimeOffset EndTime { get; set; } = DateTimeOffset.UtcNow;
|
|
public ReplayMonitorFlags Monitors { get; set; } = new();
|
|
}
|
|
|
|
public sealed class ReplayMonitorFlags
|
|
{
|
|
public bool NordPool { get; set; } = true;
|
|
public bool Boiler { get; set; } = true;
|
|
public bool Shower { get; set; } = true;
|
|
public bool Power { get; set; } = true;
|
|
public bool Light { get; set; } = true;
|
|
}
|