     return self.api.feedData(self.account, id: useFeedId, at: startTime, until: endTime, interval: interval)
   }
 
-  private func fetchBarChartHistory() -> Observable<[DataPoint]> {
-    guard let kwhFeedId = self.appData.kwhFeedId else {
-      return Observable.empty()
-    }
-
+  private func fetchBarChartHistory(kwhFeedId: String) -> Observable<[DataPoint]> {
     let daysToDisplay = 15 // Needs to be 1 more than we actually want to ensure we get the right data
     let endTime = Date()
     let startTime = endTime - Double(daysToDisplay * 86400)

    }
  }

  private func fetchPowerNowAndUsageToday() -> Observable<(Double, Double)> {
    guard let useFeedId = self.appData.useFeedId, let kwhFeedId = self.appData.kwhFeedId else {
      return Observable.empty()
    }

    let calendar = Calendar.current
    let dateComponents = calendar.dateComponents([.year, .month, .day], from: Date())
    let midnightToday = calendar.date(from: dateComponents)!

    }
  }

  private func fetchLineChartHistory(useFeedId: String) -> Observable<[DataPoint]> {
    let endTime = Date()
    let startTime = endTime - (60 * 60 * 8)
    let interval = Int(floor((endTime.timeIntervalSince1970 - startTime.timeIntervalSince1970) / 1500))
