Can someone help me with a hysterese, i am make a script for a shadowing with a clearnessensor, also would i make it with a time for 45 minuts, so when there is 45 minuts no sun than the shadowing can up.

thanks, Ron

Please take a look here: