SwiftfuncHomeEnergyUIHomeEnergyUI.MockInsightRecordProvider

fetchDeviceEnergyInsights

HomeEnergyUI.MockInsightRecordProvider.fetchDeviceEnergyInsights(forDevice: EnergyKit.ElectricalLoadDevice, using: EnergyKit.ElectricityInsightQuery, atVenue: Foundation.UUID, managed: Bool) async throws -> AsyncStream<EnergyKit.ElectricityInsightRecord<Foundation.Measurement<NSUnitEnergy>>>

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

param{}

  1. 0forDevice:
  2. 1using:
  3. 2atVenue:
  4. 3managed: