LED strip controller timer function



I’ve been able to successfully install 2 LED strips and everything seems to work fine (except configuring Homekitt)

Nevertheless, is it possible to add a timer controller (function) on the current code/configuration in order to have say, a certain color to come on or have one of the effects to come on at a specific time ? Please advise

Thank you,