i did it that way last year and didn't have any problems with plant confusion. i think they only 'know' light and dark. with light, they photosynthesize and without light they do not.
i'm no expert but it worked ok for me.

bozo,
peace, love, dope