15 lines
450 B
C#
15 lines
450 B
C#
namespace BoilerMonitorManager.Models;
|
|
|
|
public sealed class BoilerMonitorOptions
|
|
{
|
|
public const string SectionName = "BoilerMonitor";
|
|
|
|
public bool Enabled { get; init; } = true;
|
|
|
|
/// <summary>
|
|
/// When true, removes existing BoilerMonitor MQTT entities before recreating them on app startup.
|
|
/// Manual cleanup (e.g. HA button) is not affected.
|
|
/// </summary>
|
|
public bool CleanupEntitiesOnStartup { get; init; } = true;
|
|
}
|