Revert "add light control code"

This reverts commit 88ab4b8efd66887770d3bd51efb6a6476ac5ef55.