Files
HomeAssistant/BatteryMonitor.Models/BatteryMonitorConsts.cs
T
gitea_admin 24729ee267 Apply code formatting cleanup across monitor projects
- 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
2026-11-30 11:52:06 +02:00

35 lines
896 B
C#

namespace BatteryMonitor.Models;
public static class BatteryMonitorConsts
{
public const int DefaultBatteryThresholdPercent = 5;
public const string BatteryDeviceClass = "battery";
public const string SensorDomainPrefix = "sensor.";
public const string NotificationId = "battery_monitor_low_battery";
public const string NotificationTitle = "Low Battery Alert";
public const string PersistentNotificationDomain = "persistent_notification";
public const string PersistentNotificationCreateService = "create";
public const string PersistentNotificationDismissService = "dismiss";
public const string DailyCheckCron = "0 8 * * *";
public static readonly string[] ExcludedKeywords =
[
"iphone",
"phone",
"watch",
"galaxy",
"sm_s",
"sm_a",
"pixel",
"oneplus",
"ipad"
];
}