Files
HomeAssistant/BoilerMonitor.Manager/Interface/IBoilerMonitorEntityService.cs
T
gitea_admin f0bbd4f10b Enable PowerMonitor limit enforcement and prune unused boiler/replay code
PowerMonitor now ships enabled with power-limit enforcement settings: watt limit, recovery and cooldown windows, and switch-off plus pause/restore entity lists.

Remove the unused BoilerRunTimeTracker, its DI registration and tests, the StatusCleanedUp constant, and the boiler replay runner; simplify BoilerConfigReader, control-service logging and entity parsing. Switch CostAccumulator to System.Threading.Lock, update the Shower exhaust fan service and tests, drop the legacy HistoryReplay/McpServer sources and reporting tooling, and expand AGENTS.md with the current project wiring and DI notes.
2026-11-29 13:58:08 +02:00

16 lines
699 B
C#

using BoilerMonitorManager.Models;
namespace BoilerMonitorManager.Interface;
public interface IBoilerMonitorEntityService
{
Task CreateEntitiesAsync(CancellationToken cancellationToken = default);
Task ResetEntitiesAsync(CancellationToken cancellationToken = default);
Task ResetTransientEntitiesAsync(CancellationToken cancellationToken = default);
Task UpdateEntitiesAsync(BoilerMonitorUpdateContext context, CancellationToken cancellationToken = default);
Task CleanupEntitiesAsync(CancellationToken cancellationToken = default);
Task SetStatusAsync(string status);
PersistedBoilerState? ReadPersistedState();
DateTimeOffset? ReadPersistedCooldownTimestamp();
}