Update light state function
Update light state function

JosePadron/firstbuild_hackathon,elrafapadron/firstbuild_hackathon,jrphc/firstbuild_hackathon,elrafapadron/firstbuild_hackathon,jrphc/firstbuild_hackathon,JosePadron/firstbuild_hackathon