diff --git a/server/ControlScripts/Scopes/OfficeRoomScope.php b/server/ControlScripts/Scopes/OfficeRoomScope.php index bff6fc2..517b8d7 100644 --- a/server/ControlScripts/Scopes/OfficeRoomScope.php +++ b/server/ControlScripts/Scopes/OfficeRoomScope.php @@ -5,6 +5,8 @@ use \SHServ\Entities\Device; class OfficeRoomScope extends \SHServ\Middleware\ControlScripts implements \SHServ\Implements\ControlScriptsInterface { + use \ControlScripts\Common; + public function register_sync_map(): void { $this -> add_sync_connection([ ["type" => "relay", "alias" => "light_hub_1", "channel" => 0], diff --git a/server/ControlScripts/Scopes/SpotlightsScope.php b/server/ControlScripts/Scopes/SpotlightsScope.php index 064468a..18719a3 100644 --- a/server/ControlScripts/Scopes/SpotlightsScope.php +++ b/server/ControlScripts/Scopes/SpotlightsScope.php @@ -5,6 +5,8 @@ use \SHServ\Entities\Device; class SpotlightsScope extends \SHServ\Middleware\ControlScripts implements \SHServ\Implements\ControlScriptsInterface { + use \ControlScripts\Common; + public function register_sync_map(): void { $this -> add_sync_connection([ ["type" => "relay", "alias" => "spotlight_main_back_1", "channel" => 0],