635e9625ea
Merge pull request 'Apply code formatting cleanup across the monitor projects' (#1) from fix-style into main
main
gitea_admin2026-12-01 10:40:57 +00:00
6e4d684359
feat: add BatteryMonitor implementation with discovery, notification, and scheduling services
Marius
2026-04-01 10:55:33 +03:00
11c2574235
feat: migrate boiler control implementation to BoilerMonitor namespace and add budget handling logic
Marius
2026-03-24 15:29:59 +02:00
c4015277a3
Add implementation plan for boiler anti-cycling and debug entity
Marius
2026-03-21 12:52:31 +02:00
c9bf646f81
Add design doc for boiler anti-cycling and debug diagnostic entity
Marius
2026-03-21 12:50:32 +02:00
a14fb65be3
fix: reset current price state to empty string instead of "0"
Marius
2026-03-19 16:46:21 +02:00
4a8eb30304
fix: handle Local and Unspecified DateTimeKind in CompactNordPoolDayPrice conversion
Marius
2026-03-19 16:38:10 +02:00
4c6b6938e8
feat: add PowerMonitor service registration and default configuration tests
Marius
2026-03-19 16:32:47 +02:00
cd5f9d0352
fix: derive test constants from NordPoolConsts to prevent stale values
Marius
2026-03-19 16:32:32 +02:00
411611215a
test: add compact format verification and size limit tests for NordPool entity attributes
Marius
2026-03-19 16:27:37 +02:00
86f8f2dfbe
feat: switch NordPool entity attributes to compact array serialization format
Marius
2026-03-19 16:24:40 +02:00
0f146150f7
feat: add MaxExpectedPriceEntries constant for oversized payload warning
Marius
2026-03-19 16:22:37 +02:00
638c1ef6d1
test: add size regression guard for compact NordPool price serialization
Marius
2026-03-19 16:21:49 +02:00
b926a8325e
fix: replace magic numbers with NordPoolConsts.MinutesPerInterval in compact price tests
Marius
2026-03-19 16:17:47 +02:00
3e5afa42c6
feat: add ToCompact extension for NordPoolDayPrice collections
Marius
2026-03-19 16:15:39 +02:00
b4e465573f
fix: add input validation and error-path tests for CompactNordPoolDayPrice
Marius
2026-03-19 14:38:41 +02:00
5a4a4ed001
feat: add CompactNordPoolDayPrice with array-format JSON serialization
Marius
2026-03-19 13:09:49 +02:00
e64836a7b1
Add implementation plan for NordPool compact price attributes
Marius
2026-03-19 12:10:21 +02:00
b07cb97046
Add design doc for NordPool compact price attributes
Marius
2026-03-19 12:08:06 +02:00
89ce8b46ea
fix: read NordPool price from HA entity instead of scoped service to fix cross-app price isolation
Marius
2026-03-17 13:53:10 +02:00
1909eedc6b
fix: change PowerSensorDiscoveryService to scoped lifetime to resolve IHaContext DI error
Marius
2026-03-17 13:05:42 +02:00
ba31ed6a45
feat: wire up PowerMonitor DI registration and complete integration
Marius
2026-03-17 13:01:37 +02:00
42e8db4999
feat: add PowerMonitorInit orchestrator with polling and re-discovery button
Marius
2026-03-17 12:59:44 +02:00
33d915f7b4
feat: add PowerMonitorEntityService with system and per-device MQTT entities
Marius
2026-03-17 12:57:45 +02:00
7f0ebcf826
feat: add PowerCostCalculationService with per-device cost accumulators
Marius
2026-03-17 12:55:25 +02:00
b0fd790ba6
feat: add PowerSensorDiscoveryService with auto-discovery and exclusion patterns
Marius
2026-03-17 12:53:31 +02:00
c77f854682
feat: add OtherPowerCalculationService with EMA smoothing and TDD tests
Marius
2026-03-17 12:50:16 +02:00
ec722ee80a
test: add CostAccumulator unit tests for all window boundaries and thread safety
Marius
2026-03-17 12:49:04 +02:00
47cccbfb81
feat: add PowerMonitor shared models, CostAccumulator, and entity types
Marius
2026-03-17 12:46:34 +02:00
6fd1af7e21
feat: add PowerMonitor configuration model and constants
Marius
2026-03-17 12:45:38 +02:00
a3417d0e97
feat: scaffold PowerMonitor projects and add to solution
Marius
2026-03-17 12:44:42 +02:00
9d4f0b36c3
feat: add detailed implementation plan for PowerMonitor feature
Marius
2026-03-17 12:41:30 +02:00
fa27faddcf
Add power monitor design document for other power usage and cost tracking
Marius
2026-03-17 12:37:56 +02:00
28eddc5dc0
Add cancellation token support across NordPool services and update constants for reuse
Marius
2026-03-16 12:13:19 +02:00
17a2e67078
Refactor boiler control and price logic: Introduce PriceConsts, improve BoilerAction handling with switch, and update namespaces for better structure.
Marius
2026-03-16 12:08:14 +02:00
42b1fe3b18
Refactor UpdateCheapestIntervals logic to return a result object and improve code readability. Introduce CheapestIntervalsUpdateResult model for encapsulating update details and simplify inline tuples.
Marius
2026-03-16 12:00:23 +02:00
53eb53539a
Add input_boolean for water heater preparation logic
Marius
2026-03-16 11:42:49 +02:00
5cc0ab29a6
Remove HaDbMigration.Tests project from solution
Marius
2026-03-12 14:38:22 +02:00
952e2d28a6
Update Dockerfile for multi-project restore and add HaDbMigration.Tests to solution
Marius
2026-03-12 14:38:05 +02:00
7dcdac6933
Remove HaDbMigration project and all related files
Marius
2026-03-12 13:08:53 +02:00
b262d10ea4
Added migration tool
Marius
2026-03-12 09:47:49 +02:00
27648ae57c
Remove PowerMonitor.Manager project and its dependencies
Marius
2026-03-10 12:27:06 +02:00
41991e78b5
Add VS Code workspace configuration
Marius
2026-03-08 19:35:43 +02:00