Switch sunset/sunrise precondition doesn't work anymore

Hi, when long pressing a button on the switch a different action is activated based on precondition sunset or sundown. This used to work for years but now I wanted to set it up again and noticed that precondition sunset/sundown doesn’t seem to work anymore!

Anyone else noticed this? Is there a solution?

Hoping to get this up and running again! See screenshot for my setup.

Regards,
Tom