Add PowerMonitor power limit enforcement service

Introduce IPowerLimitEnforcementService and its implementation: turn off configured high-power switches and pause/restore entities when the limit is exceeded, notify via persistent_notification, and restore control after the recovery window once power drops below the limit. Includes cooldown handling and manual TriggerLimitBreach/ResetLimitBreach hooks, with FakeTimeProvider-based tests covering enforcement, recovery, cooldown and debug paths.

Add opencode.json wiring the HomeAssistant MCP server, the .junie MCP config files, and the implementation plan in PLAN.md.
This commit is contained in:
2026-11-29 13:58:28 +02:00
parent f0bbd4f10b
commit 1152462765
7 changed files with 793 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
{
"mcpServers": {
"UnoApp": {
"command": "dotnet",
"args": [
"dnx",
"-y",
"uno.devserver",
"--mcp-app"
]
},
"UnoDocs": {
"url": "https://mcp.platform.uno/v1"
}
}
}
+13
View File
@@ -0,0 +1,13 @@
{
"mcpServers": {
"UnoApp": {
"command": "dotnet",
"args": [
"dnx",
"-y",
"uno.devserver",
"--mcp-app"
]
}
}
}