Updating the "Smart Timer: smart-light-timer-x-minutes-unless-already-on.groovy" with bulb brightness and colour

I came across the smart app that @bflorian posted into the SmartThings Github Repo. It looks like it was created by: andersheie@gmail.com and listpope@cox.net

What I’m trying to do is update this smart app so that it can also turn up the brightness of the bulb to a set level, and change the colour to white. I have some RGBW bulbs that need to be told more than just on-off.

Thanks for any help!