refactor: Remove commented-out Config properties from Device class and add spacing in EssentialsDevice class

This commit is contained in:
Neil Dorin 2026-06-03 14:09:47 -06:00
parent a1617fbeb2
commit 153922c3fe
2 changed files with 1 additions and 10 deletions

View file

@ -24,16 +24,6 @@ public class Device : IKeyName
/// </summary>
public bool Enabled { get; protected set; }
/// <summary>
/// A place to store reference to the original config object, if any. These values should
/// NOT be used as properties on the device as they are all publicly-settable values.
/// </summary>
//public DeviceConfig Config { get; private set; }
/// <summary>
/// Helper method to check if Config exists
/// </summary>
//public bool HasConfig { get { return Config != null; } }
List<Action> _PreActivationActions;
List<Action> _PostActivationActions;

View file

@ -15,6 +15,7 @@ namespace PepperDash.Essentials.Core;
[Description("The base Essentials Device Class")]
public abstract class EssentialsDevice : Device
{
/// <summary>
/// Event that fires when the device has completed initialization. This is useful for any setup that needs to occur after all devices have been activated.
/// </summary>