feat: add PowerMonitor service registration and default configuration tests

This commit is contained in:
Marius
2026-03-19 16:32:47 +02:00
parent cd5f9d0352
commit 4c6b6938e8
5 changed files with 105 additions and 7 deletions
@@ -6,6 +6,7 @@ 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;