☀️ Cover Control Automation (CCA) - a comprehensive and highly configurable roller blind blueprint

Hi together,
i have a question about a cover, which is located directly to east.
If the resident is in bed an is getting up late, and the sun brightness is higher than the shading brightness value, the sun elevation and azimuth is between the config settings and the latest opening time is over. In this case when the resident value is changing to off, the cover are opening, because the setting “Open the cover immediately when the sensor goes to ‘off/false’?” is enabled. But in this case, the cover are never changing to shading mode. If i do not enable the setting " Open the cover immediately when the sensor goes to ‘off/false’?", the cover are still closed until evening.

How did you handle this? Is my configuration wrong?
Thank you for some help!
Markus