def iter_device(self) -> Iterator[AdbDevice]:
        """
        Returns:
            iter only AdbDevice with state:device
        """
        for info in self.list():
            if info.state != "device":
                continue
            yield AdbDevice(self, serial=info.serial)

        Returns:
            iter only AdbDevice with state:device
        
adbutils/__init__.py