async def _get_managed_objects(self):
        """
        Retrieve list of managed objects.

        These are devices that have previously been paired but may or may
        not currently be connected.

        Additionally, if the device is scanning, available objects will also
        appear here, albeit temporarily.
        """
        self._setting_up = True

        objects = await self.object_manager.call_get_managed_objects()

        for path, interfaces in objects.items():
            self._interface_added(path, interfaces)

        self._setting_up = False

        Retrieve list of managed objects.

        These are devices that have previously been paired but may or may
        not currently be connected.

        Additionally, if the device is scanning, available objects will also
        appear here, albeit temporarily.
        
libqtile/widget/bluetooth.py