Files
HomeAssistant/ShowerMonitor.Manager/Interface/IShowerDetectionService.cs
T

16 lines
450 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; }
ShowerState Evaluate(double bathroomHumidity, double mainHomeHumidity, DateTimeOffset timestamp);
void ResetDailyCounters();
}