def pairing_code(self) -> Optional[str]:
        """Used by the DeviceMgr to keep track of paired hw devices."""
        if not self.soft_device_id:
            return None
        return f"{self.plugin.name}/{self.soft_device_id}"
Used by the DeviceMgr to keep track of paired hw devices.
electrum/keystore.py