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
This commit is contained in:
@@ -1,17 +1,7 @@
|
||||
{
|
||||
"Serilog": {
|
||||
"MinimumLevel": {
|
||||
"Default": "Warning",
|
||||
"Override": {
|
||||
"System.Net.Http.HttpClient": "Warning",
|
||||
"NordPoolManager": "Information",
|
||||
"PowerMonitorManager": "Information",
|
||||
"BoilerMonitorManager": "Information",
|
||||
"ShowerMonitorManager": "Information",
|
||||
"LightMonitorManager": "Information",
|
||||
"BatteryMonitorManager": "Information",
|
||||
"LeakMonitorManager": "Information"
|
||||
}
|
||||
"Default": "Warning"
|
||||
},
|
||||
"WriteTo": [
|
||||
{
|
||||
@@ -41,7 +31,7 @@
|
||||
"MainHomeHumidityEntityId": "sensor.main_home_humidity",
|
||||
"BathroomTemperatureEntityId": "sensor.bathroom_temperature",
|
||||
"ExhaustFanEntityId": "switch.exhaust_fan",
|
||||
"PollIntervalSeconds": 30,
|
||||
"PollIntervalSeconds": 5,
|
||||
"SpikeRateThreshold": 4.0,
|
||||
"MinDifferentialHumidity": 8.0,
|
||||
"PeakHumidityThreshold": 58.0,
|
||||
@@ -70,13 +60,13 @@
|
||||
"NotificationCooldownMinutes": 5
|
||||
},
|
||||
"PowerMonitor": {
|
||||
"Enabled": true,
|
||||
"Enabled": false,
|
||||
"MainMeterEntityId": "sensor.sonoff_100267d63f_power",
|
||||
"PollIntervalSeconds": 1,
|
||||
"SmoothingWindowSize": 10,
|
||||
"AnomalyThresholdWatts": 500,
|
||||
"HighPowerThresholdWatts": 6000,
|
||||
"EnforceLimitEnabled": true,
|
||||
"EnforceLimitEnabled": false,
|
||||
"PowerLimitWatts": 5500,
|
||||
"RecoverySeconds": 600,
|
||||
"LimitCooldownSeconds": 30,
|
||||
|
||||
Reference in New Issue
Block a user