Once PLAYBULB rainbow is turned off by the real light switch, timer setting will be gone and it is disconnected too.
However, the timer setting is still valid if PLAYBUB rainbow is turned off via App. It is because the timer setting is stored on the PLAYBULB rainbow itself. So, once the timer setting is chosen, the instruction will be saved on PLAYBULB rainbow. So the timer function will still work on time and automatically even when your phone is turned off.