I am stuck. I am trying to get my lights to turn on at a certain time (sunset - 30) and then fade from 100% to 20% and hit 20% at 9pm. I’ve tried different expressions for the duration, but keep coming up with high numbers. For instance:

{datetime(‘9PM’)} - {$sunset}

Gives me a large negative number (-32275537). Can someone give me a push in the right direction? Thanks!