diff --git a/essentials-framework/Essentials Core/PepperDashEssentialsBase/Gateways/CenRfgwController.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Gateways/CenRfgwController.cs index ed847747..fb7968d9 100644 --- a/essentials-framework/Essentials Core/PepperDashEssentialsBase/Gateways/CenRfgwController.cs +++ b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Gateways/CenRfgwController.cs @@ -162,7 +162,7 @@ namespace PepperDash.Essentials.Core { public CenRfgwControllerFactory() { - TypeNames = new List() {"cenrfgwex", "cenerfgwpoe"}; + TypeNames = new List {"cenrfgwex", "cenerfgwpoe"}; } public override EssentialsDevice BuildDevice(DeviceConfig dc) @@ -187,9 +187,11 @@ namespace PepperDash.Essentials.Core return null; } } + + #endregion } - #endregion + } diff --git a/essentials-framework/Essentials Core/PepperDashEssentialsBase/PartitionSensor/GlsPartitionSensorController.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/PartitionSensor/GlsPartitionSensorController.cs index 4fdbd2be..44dfbb4b 100644 --- a/essentials-framework/Essentials Core/PepperDashEssentialsBase/PartitionSensor/GlsPartitionSensorController.cs +++ b/essentials-framework/Essentials Core/PepperDashEssentialsBase/PartitionSensor/GlsPartitionSensorController.cs @@ -49,6 +49,8 @@ namespace PepperDash.Essentials.Core { _partitionSensor = preActivationFunc(config); + RegisterCrestronGenericBase(_partitionSensor); + NameFeedback = new StringFeedback(() => Name); EnableFeedback = new BoolFeedback(() => _partitionSensor.EnableFeedback.BoolValue); PartitionSensedFeedback = new BoolFeedback(() => _partitionSensor.PartitionSensedFeedback.BoolValue);