def add_all_lights
      all_lights = []
      overview["lights"].each do |id, light|
        all_lights << add_light(id.to_i, light["name"])
      end
      all_lights
    end
def add_all_lights
      all_lights = []
      overview["lights"].each do |id, light|
        all_lights << add_light(id.to_i, light["name"])
      end
      all_lights
    end
loop through the available lights and make corresponding objects