Remove the MCP server and split NordPool today/tomorrow fetch decisions
- Drop the HomeAssistant.McpServer wiring from opencode.json along with the Cursor live-validation hook, rule and skill; update AGENTS.md and README - Rename ShouldFetchNewPrices to ShouldFetchTodaysPrices and add a separate ShouldFetchTomorrowPrice that waits until the CET publish hour (TomorrowPricesPublishHour) - Inject TimeProvider into NordPoolPriceService, use the CET zone for the current date and record fetch timestamps from it - Rework the NordPool tests around FakeTimeProvider and cover fetching only today before the publish hour
This commit is contained in:
@@ -24,8 +24,6 @@ The solution file is `HomeAssistantSDK.sln`. Projects are grouped by concern:
|
||||
| `HomeAssistant.Server` | NetDaemon host. Binary-deploy target that loads all apps. |
|
||||
| `HomeAssistant.Entities` | Generated HA entity metadata + `IEntityManager` abstraction. |
|
||||
| `HomeAssistant.Models` | Shared HA DTOs (`EntityCreateModel`, etc.). |
|
||||
| `HomeAssistant.Infrastructure` | Cross-cutting infrastructure shared by apps. |
|
||||
| `HomeAssistant.McpServer` | MCP server exposing HA tools (entities, history, logbook, services, system). |
|
||||
| `Mappings` | Shared mapping helpers. |
|
||||
|
||||
### Monitor apps
|
||||
|
||||
Reference in New Issue
Block a user