# File lib/commands/light_sensor.rb, line 40
  def generate_light=(logic)
    @generate_light = logic
    set_mode
  end