Change lighting controller logic