Commit Graph

13 Commits

Author SHA1 Message Date
gitea_admin 41ac93733e Clear Qodana findings in monitor runtime code
- Guard logger calls with IsEnabled so value-type arguments are not boxed
  when the level is disabled
- Make helper members static, narrow write-only properties to init or
  private get, and delete members no call site reaches
- Flatten nested conditionals and convert if/else chains into switch and
  ternary form
- Drop the unused *MonitorInit interfaces; NetDaemon instantiates the
  concrete app classes
- Drop the unused IConfiguration parameter from AddNordPool and
  AddPowerMonitor, and the unused IEntityManager.CreateEntitiesAsync
- Remove the ignored parameters of the boiler run-time tracker stub
- Pin the NordPool DTO price mapping explicitly so the getter use is
  visible to static analysis
- Fail Qodana on any finding and record the registration changes in
  AGENTS.md
2026-11-29 21:42:47 +02:00
gitea_admin 5777e641f6 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
2026-11-29 21:30:13 +02:00
gitea_admin f176a1b8fc Add manual MQTT recreation and NordPool price fetch buttons 2026-07-08 16:56:32 +03:00
gitea_admin e6bf8258bb Update 2026-06-28 13:58:35 +03:00
Marius 6e4d684359 feat: add BatteryMonitor implementation with discovery, notification, and scheduling services 2026-04-01 10:55:33 +03:00
Marius 11c2574235 feat: migrate boiler control implementation to BoilerMonitor namespace and add budget handling logic 2026-03-24 15:29:59 +02:00
Marius 4a8eb30304 fix: handle Local and Unspecified DateTimeKind in CompactNordPoolDayPrice conversion
Made-with: Cursor
2026-03-19 16:38:10 +02:00
Marius 0f146150f7 feat: add MaxExpectedPriceEntries constant for oversized payload warning
Made-with: Cursor
2026-03-19 16:22:37 +02:00
Marius 3e5afa42c6 feat: add ToCompact extension for NordPoolDayPrice collections
Made-with: Cursor
2026-03-19 16:15:39 +02:00
Marius b4e465573f fix: add input validation and error-path tests for CompactNordPoolDayPrice
Made-with: Cursor
2026-03-19 14:38:41 +02:00
Marius 5a4a4ed001 feat: add CompactNordPoolDayPrice with array-format JSON serialization
Made-with: Cursor
2026-03-19 13:09:49 +02:00
Marius 28eddc5dc0 Add cancellation token support across NordPool services and update constants for reuse
- Introduced `CancellationToken` to service methods for improved task cancellation handling.
- Centralized reusable constants (`MinutesPerInterval`, `WaterReadyPowerThresholdWatts`) in `NordPoolConsts`.
- Refactored `ConfigureAwait` usage and improved logging within `NordPoolEntityService`.
- Adjusted tests to accommodate cancellation token changes.
2026-03-16 12:13:19 +02:00
Marius 861c344832 Init 2026-03-08 19:10:16 +02:00