docs: def get_light_by_name(self, name):
          """Retrieves a light object by its name
  
          :param name: The name of the light to return
          :return: A light object
          """
          return next((light for light in self.lights
                       if light.name.lower() == name.lower()), None)