using PowerMonitorManager.Models.Consts; namespace PowerMonitorManager.Models; public sealed class PowerMonitorOptions { public const string SectionName = "PowerMonitor"; public bool Enabled { get; set; } = true; 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; } = []; public double HighPowerThresholdWatts { get; set; } = PowerMonitorConsts.DefaultHighPowerThresholdWatts; }