Added switch to output list of connected devices