Files
HomeAssistant/ShowerMonitor.Manager/Interface/IShowerDetectionService.cs
T
2026-06-28 14:22:13 +03:00

17 lines
479 B
C#

using ShowerMonitor.Models;
using ShowerMonitor.Models.Enums;
namespace ShowerMonitorManager.Interface;
public interface IShowerDetectionService
{
ShowerState CurrentState { get; }
ShowerSession? CurrentSession { get; }
ShowerSession? LastCompletedSession { get; }
int TodaySessionCount { get; }
double LastRate { get; }
ShowerState Evaluate(double bathroomHumidity, double mainHomeHumidity, DateTimeOffset timestamp);
void ResetDailyCounters();
}