light shadow type not exposed?

I want to turn off the light’s shadow when it fades down to night, how can i do that ?

A combination of these two should work:

thanks!
I was looking for shadowType for some weird reason…