Thank you very much for your support!
As I was implementing the new WATO API, the documentation stated, that I should import the Value-Spec objects via:
from cmk.gui.ValueSpec import …
But this leaded to an ImportError. The correct import is:
from cmk.gui.valuespec import …
Best Regards
Markus