diff --git a/server/ControlScripts/OfficeRoomScope.php b/server/ControlScripts/OfficeRoomScope.php index 3d317a1..222ac72 100644 --- a/server/ControlScripts/OfficeRoomScope.php +++ b/server/ControlScripts/OfficeRoomScope.php @@ -89,9 +89,9 @@ protected function btns_online(String $button_alias): void { $this -> add_event_handler("button@{$button_alias}.online", function(Device $btns_block, Array $data) { $btns_block_api = $btns_block -> device_api(); - if($btns_block_api instanceof \SHServ\Tools\DeviceAPI\Button) { - $btns_block_api -> set_channel_state("mute", 0); - } + // if($btns_block_api instanceof \SHServ\Tools\DeviceAPI\Button) { + // $btns_block_api -> set_channel_state("mute", 0); + // } $this -> helper() -> sync_btn_channels($this -> sync_map, $btns_block -> alias); });