ada3c77778
- DateTimeTypeConverter parses with the invariant culture instead of the ambient one (NordPool timestamps arrive as ISO-8601) - Shower last-shower-time state is formatted with the invariant culture - PresenceServiceTests no longer captures the loop variable in a Moq setup - CheapestIntervalsFinderTests compare prices with a tolerance instead of floating-point equality - MqttRecreateApp logs the unit_of_measurement read failure instead of silently swallowing every exception - LightMonitorOptions moves to LightMonitor.Models so the namespace matches the project and file location
14 lines
435 B
C#
14 lines
435 B
C#
using static LightMonitor.Models.LightMonitorConsts;
|
|
|
|
namespace LightMonitor.Models;
|
|
|
|
public sealed class LightMonitorOptions
|
|
{
|
|
public const string SectionName = "LightMonitor";
|
|
|
|
public bool Enabled { get; set; }
|
|
public string LightEntityId { get; set; } = DefaultLightEntityId;
|
|
public string SunEntityId { get; set; } = DefaultSunEntityId;
|
|
public string[] PersonEntityIds { get; set; } = DefaultPersonEntityIds;
|
|
}
|