diff --git a/src/MakeModelCrestronDeviceFactory.cs b/src/MakeModelCrestronDeviceFactory.cs index 8e3a994..f014b95 100644 --- a/src/MakeModelCrestronDeviceFactory.cs +++ b/src/MakeModelCrestronDeviceFactory.cs @@ -69,7 +69,7 @@ namespace PepperDash.Essentials.Plugin var controlConfig = CommFactory.GetControlPropertiesConfig(dc); - if (controlConfig == null) + if (controlConfig != null) { var myTouchpanel = new Tsw760(controlConfig.IpIdInt, Global.ControlSystem);