ValueError: Failed to find construction "XXXX" for OpenStudio ShadingControl

Why does my dynamic shade construction not work? I tried different names, also leaving the default name, but nothing worked. This is my script for dynmaisc shading:


I will be grateful for every help, thank you!

I also face the same issue, specially after moving to 1.9 from 1.8