24729ee267
- Reindent appsettings.json and the MSBuild project files - Collapse single-statement guard blocks and tidy using and member order - Normalize XML doc indentation and file endings - Reorder BatteryMonitor test-data helpers and move the exclusion tests into their own region - Carry the same formatting through the boiler config, control, entity and test files
24 lines
723 B
C#
24 lines
723 B
C#
namespace LeakMonitor.Models;
|
|
|
|
public static class LeakMonitorConsts
|
|
{
|
|
public const string WaterDetectedState = "on";
|
|
|
|
public const string WaterClearedState = "off";
|
|
|
|
public const string NotifyDomain = "notify";
|
|
|
|
public const string MobileAppService = "mobile_app_marius_phone";
|
|
|
|
public const string PersistentNotificationDomain = "persistent_notification";
|
|
|
|
public const string PersistentNotificationCreateService = "create";
|
|
|
|
public const string PersistentNotificationDismissService = "dismiss";
|
|
|
|
public const string NotificationIdPrefix = "leak_monitor_";
|
|
|
|
public const string NotificationTitle = "Water Leak Detected!";
|
|
|
|
public const int DefaultNotificationCooldownMinutes = 5;
|
|
} |