def pending(hours = 24)
      cutoff = Time.now.to_i + hours * 3600

      windows_in_state(:pending).tap do |r|
        r.response.items.delete_if { |w| w.startTimeInSeconds > cutoff }
      end
    end
def pending(hours = 24)
      cutoff = Time.now.to_i + hours * 3600

      windows_in_state(:pending).tap do |r|
        r.response.items.delete_if { |w| w.startTimeInSeconds > cutoff }
      end
    end
Get the windows which will be open in the next so-many hours
 @param hours [Numeric] how many hours to look ahead
 @return [Wavefront::Response]