I am using this app with my Yeelights. You can connect SAA and Yeelight with IFTTT. Then is just like any other ifttt rule. Using a command you tell your lights what to do.
You set trigger smart alarm that triggers 45 minutes before smart wakeup. I found it’s a little early so I made my custom sunrise which is starting to turn on after 40 minutes. The result is that sunrise turns the lights on 5 minutes before smart alarm starts.
So, what you did was use the “smart alarm” trigger (which starts 45 min before), and then for the action you just said “wait 40 minutes and then turn on sunrise” - is that right?