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
13 lines
438 B
C#
13 lines
438 B
C#
using static LightMonitor.Models.LightMonitorConsts;
|
|
|
|
namespace LightMonitor.Models;
|
|
|
|
public sealed class LightMonitorOptions
|
|
{
|
|
public const string SectionName = "LightMonitor";
|
|
|
|
public bool Enabled { get; init; }
|
|
public string LightEntityId { get; init; } = DefaultLightEntityId;
|
|
public string SunEntityId { get; init; } = DefaultSunEntityId;
|
|
public string[] PersonEntityIds { get; init; } = DefaultPersonEntityIds;
|
|
} |