Files
HomeAssistant/PowerMonitor.Manager/Models/PowerMonitorOptions.cs
T
2026-03-17 12:45:38 +02:00

15 lines
610 B
C#

using PowerMonitorManager.Models.Consts;
namespace PowerMonitorManager.Models;
public sealed class PowerMonitorOptions
{
public const string SectionName = "PowerMonitor";
public string MainMeterEntityId { get; set; } = string.Empty;
public int PollIntervalSeconds { get; set; } = PowerMonitorConsts.DefaultPollIntervalSeconds;
public int SmoothingWindowSize { get; set; } = PowerMonitorConsts.DefaultSmoothingWindowSize;
public double AnomalyThresholdWatts { get; set; } = PowerMonitorConsts.DefaultAnomalyThresholdWatts;
public string[] ExcludedSensorPatterns { get; set; } = [];
}