For the joycons I managed to get that issue fixed by connecting my switch to the dock with both joycons attached. For the pro I suggest trying the SYNC button it has next to the charging port and pressing L+R, you should do this on the pairing options for your Switch
Stupid question but do you have flight mode on and Bluetooth off?
Flight mode isn't on, but how do I check if bluetooth is enabled?