(self, name_filter="", *args, **kwargs)
return [device for device in devices
                if name_filter in (device['name'] or '')]
Scan for BLE devices and filter the list to include only with a name
        that includes the given filter.

        Returns a list of BLE devices found.
Scan for BLE devices and filter the list to include only with a name
        that includes the given filter.
Scan for BLE devices and filter the list to include only with a name that includes the given filter .
def filtered_scan(self, name_filter="", *args, **kwargs):
        """
        Scan for BLE devices and filter the list to include only with a name
        that includes the given filter.

        Returns a list of BLE devices found.
        """
        devices = self.scan(*args, **kwargs)
        return [device for device in devices
                if name_filter in (device['name'] or '')]
def filtered_scan ( self , name_filter = "" , * args , * * kwargs ) : devices = self . scan ( * args , * * kwargs ) return [ device for device in devices if name_filter in ( device [ 'name' ] or '' ) ]