Resolves issue with GenericRelay factory not returning device if portDeviceKey maps to a device that is not of type CrestronControlSystem

This commit is contained in:
Neil Dorin 2019-06-11 22:09:20 -06:00
parent 8585977f71
commit ae23e48fd0
2 changed files with 1 additions and 3 deletions

View file

@ -356,8 +356,6 @@ namespace PepperDash.Essentials
newDev = PepperDash.Essentials.DM.DeviceFactory.GetDevice(devConf);
if (newDev == null)
newDev = PepperDash.Essentials.Devices.Displays.DisplayDeviceFactory.GetDevice(devConf);
if (newDev == null)
newDev = PepperDash.Essentials.BridgeFactory.GetDevice(devConf);
//if (newDev == null) // might want to consider the ability to override an essentials "type"
//{

@ -1 +1 @@
Subproject commit 2c636c3347a406c4254d895789f40dd183f00ca9
Subproject commit 11f52e170e452a2397b3dc0d685abe11345ae424