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
21 lines
678 B
C#
21 lines
678 B
C#
namespace LightMonitor.Models;
|
|
|
|
public static class LightMonitorConsts
|
|
{
|
|
public const string DefaultLightEntityId = "light.sonoff_1002214d40";
|
|
public const string DefaultSunEntityId = "sun.sun";
|
|
|
|
public const string SunBelowHorizon = "below_horizon";
|
|
public const string SunAboveHorizon = "above_horizon";
|
|
public const string PersonHomeState = "home";
|
|
public const string LightOnState = "on";
|
|
public const string UnavailableState = "unavailable";
|
|
public const string UnknownState = "unknown";
|
|
|
|
public static readonly string[] DefaultPersonEntityIds =
|
|
[
|
|
"person.marius",
|
|
"person.erika",
|
|
"person.home_phone"
|
|
];
|
|
} |