For solar string lights, it will be automatically on when it’s dark (night time) and automatically off when it’s bright (daytime).