From 23a37ebb370fc2da99b3bddd5fb5ec8688b16700 Mon Sep 17 00:00:00 2001 From: Neil Dorin Date: Wed, 18 Oct 2023 15:28:22 -0600 Subject: [PATCH] #1145 moves LoadTieLines() to after device activation sequence --- PepperDashEssentials/ControlSystem.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/PepperDashEssentials/ControlSystem.cs b/PepperDashEssentials/ControlSystem.cs index 1bafbbac..92137267 100644 --- a/PepperDashEssentials/ControlSystem.cs +++ b/PepperDashEssentials/ControlSystem.cs @@ -337,19 +337,20 @@ namespace PepperDash.Essentials void Load() { LoadDevices(); - LoadTieLines(); LoadRooms(); LoadLogoServer(); DeviceManager.ActivateAll(); + LoadTieLines(); + var mobileControl = GetMobileControlDevice(); if (mobileControl == null) return; mobileControl.LinkSystemMonitorToAppServer(); - - } + + } /// /// Reads all devices from config and adds them to DeviceManager