feat: add BatteryMonitor implementation with discovery, notification, and scheduling services
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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();
|
||||
}
|
||||
Reference in New Issue
Block a user