{"id":"1d4abba4-1812-46d2-a6b7-afba211cf1d6","shortId":"4uuSjF","kind":"skill","title":"Energykit","tagline":"Swift Ios Skills skill by Dpearson2699","description":"# EnergyKit\n\nProvide grid electricity forecasts to help users choose when to use electricity.\nEnergyKit identifies times when there is relatively cleaner or less expensive\nelectricity on the grid, enabling apps to shift or reduce load accordingly.\nTargets Swift 6.3 / iOS 26+.\n\n> **Beta-sensitive.** EnergyKit is new in iOS 26 and may change before GM.\n> Re-check current Apple documentation before relying on specific API details.\n\n## Contents\n\n- [Setup](#setup)\n- [Core Concepts](#core-concepts)\n- [Querying Electricity Guidance](#querying-electricity-guidance)\n- [Working with Guidance Values](#working-with-guidance-values)\n- [Energy Venues](#energy-venues)\n- [Submitting Load Events](#submitting-load-events)\n- [Electricity Insights](#electricity-insights)\n- [Common Mistakes](#common-mistakes)\n- [Review Checklist](#review-checklist)\n- [References](#references)\n\n## Setup\n\n### Entitlement\n\nEnergyKit requires the `com.apple.developer.energykit` entitlement. Add it\nto your app's entitlements file.\n\n### Import\n\n```swift\nimport EnergyKit\n```\n\n**Platform availability:** iOS 26+, iPadOS 26+.\n\n## Core Concepts\n\nEnergyKit provides two main capabilities:\n\n1. **Electricity Guidance** -- time-weighted forecasts telling apps when\n   electricity is cleaner or cheaper, so devices can shift or reduce consumption\n2. **Load Events** -- telemetry from devices (EV chargers, HVAC) submitted back\n   to the system to track how well the app follows guidance\n\n### Key Types\n\n| Type | Role |\n|---|---|\n| `ElectricityGuidance` | Forecast data with weighted time intervals |\n| `ElectricityGuidance.Service` | Interface for obtaining guidance data |\n| `ElectricityGuidance.Query` | Query specifying shift or reduce action |\n| `ElectricityGuidance.Value` | A time interval with a rating (0.0-1.0) |\n| `EnergyVenue` | A physical location (home) registered for energy management |\n| `ElectricVehicleLoadEvent` | Load event for EV charger telemetry |\n| `ElectricHVACLoadEvent` | Load event for HVAC system telemetry |\n| `ElectricityInsightService` | Service for querying energy/runtime insights |\n| `ElectricityInsightRecord` | Historical energy data broken down by cleanliness/tariff |\n| `ElectricityInsightQuery` | Query for historical insight data |\n\n### Suggested Actions\n\n| Action | Use Case |\n|---|---|\n| `.shift` | Devices that can move consumption to a different time (EV charging) |\n| `.reduce` | Devices that can lower consumption without stopping (HVAC setback) |\n\n## Querying Electricity Guidance\n\nUse `ElectricityGuidance.Service` to get a forecast stream for a venue.\n\n```swift\nimport EnergyKit\n\nfunc observeGuidance(venueID: UUID) async throws {\n    let query = ElectricityGuidance.Query(suggestedAction: .shift)\n    let service = ElectricityGuidance.sharedService\n\n    let guidanceStream = service.guidance(using: query, at: venueID)\n\n    for try await guidance in guidanceStream {\n        print(\"Guidance token: \\(guidance.guidanceToken)\")\n        print(\"Interval: \\(guidance.interval)\")\n        print(\"Venue: \\(guidance.energyVenueID)\")\n\n        // Check if rate plan information is available\n        if guidance.options.contains(.guidanceIncorporatesRatePlan) {\n            print(\"Rate plan data incorporated\")\n        }\n        if guidance.options.contains(.locationHasRatePlan) {\n            print(\"Location has a rate plan\")\n        }\n\n        processGuidanceValues(guidance.values)\n    }\n}\n```\n\n## Working with Guidance Values\n\nEach `ElectricityGuidance.Value` contains a time interval and a rating\nfrom 0.0 to 1.0. Lower ratings indicate better times to use electricity.\n\n```swift\nfunc processGuidanceValues(_ values: [ElectricityGuidance.Value]) {\n    for value in values {\n        let interval = value.interval\n        let rating = value.rating  // 0.0 (best) to 1.0 (worst)\n\n        print(\"From \\(interval.start) to \\(interval.end): rating \\(rating)\")\n    }\n}\n\n// Find the best time to charge\nfunc bestChargingWindow(\n    in values: [ElectricityGuidance.Value]\n) -> ElectricityGuidance.Value? {\n    values.min(by: { $0.rating < $1.rating })\n}\n\n// Find all \"good\" windows below a threshold\nfunc goodWindows(\n    in values: [ElectricityGuidance.Value],\n    threshold: Double = 0.3\n) -> [ElectricityGuidance.Value] {\n    values.filter { $0.rating <= threshold }\n}\n```\n\n### Displaying Guidance in SwiftUI\n\n```swift\nimport SwiftUI\nimport EnergyKit\n\nstruct GuidanceTimelineView: View {\n    let values: [ElectricityGuidance.Value]\n\n    var body: some View {\n        List(values, id: \\.interval.start) { value in\n            HStack {\n                VStack(alignment: .leading) {\n                    Text(value.interval.start, style: .time)\n                    Text(value.interval.end, style: .time)\n                        .foregroundStyle(.secondary)\n                }\n                Spacer()\n                RatingIndicator(rating: value.rating)\n            }\n        }\n    }\n}\n\nstruct RatingIndicator: View {\n    let rating: Double\n\n    var color: Color {\n        if rating <= 0.3 { return .green }\n        if rating <= 0.6 { return .yellow }\n        return .red\n    }\n\n    var label: String {\n        if rating <= 0.3 { return \"Good\" }\n        if rating <= 0.6 { return \"Fair\" }\n        return \"Avoid\"\n    }\n\n    var body: some View {\n        Text(label)\n            .padding(.horizontal, 8)\n            .padding(.vertical, 4)\n            .background(color.opacity(0.2))\n            .foregroundStyle(color)\n            .clipShape(Capsule())\n    }\n}\n```\n\n## Energy Venues\n\nAn `EnergyVenue` represents a physical location registered for energy management.\n\n```swift\n// List all venues\nfunc listVenues() async throws -> [EnergyVenue] {\n    try await EnergyVenue.venues()\n}\n\n// Get a specific venue by ID\nfunc getVenue(id: UUID) async throws -> EnergyVenue {\n    try await EnergyVenue.venue(for: id)\n}\n\n// Get a venue matching a HomeKit home\nfunc getVenueForHome(homeID: UUID) async throws -> EnergyVenue {\n    try await EnergyVenue.venue(matchingHomeUniqueIdentifier: homeID)\n}\n```\n\n### Venue Properties\n\n```swift\nlet venue = try await EnergyVenue.venue(for: venueID)\nprint(\"Venue ID: \\(venue.id)\")\nprint(\"Venue name: \\(venue.name)\")\n```\n\n## Submitting Load Events\n\nReport device consumption data back to the system. This helps the system\nimprove future guidance accuracy.\n\n### EV Charger Load Events\n\n```swift\nfunc submitEVChargingEvent(\n    at venue: EnergyVenue,\n    guidanceToken: UUID,\n    deviceID: String\n) async throws {\n    let session = ElectricVehicleLoadEvent.Session(\n        id: UUID(),\n        state: .begin,\n        guidanceState: ElectricVehicleLoadEvent.Session.GuidanceState(\n            wasFollowingGuidance: true,\n            guidanceToken: guidanceToken\n        )\n    )\n\n    let measurement = ElectricVehicleLoadEvent.ElectricalMeasurement(\n        stateOfCharge: 45,\n        direction: .imported,\n        power: Measurement(value: 7.2, unit: .kilowatts),\n        energy: Measurement(value: 0, unit: .kilowattHours)\n    )\n\n    let event = ElectricVehicleLoadEvent(\n        timestamp: Date(),\n        measurement: measurement,\n        session: session,\n        deviceID: deviceID\n    )\n\n    try await venue.submitEvents([event])\n}\n```\n\n### HVAC Load Events\n\n```swift\nfunc submitHVACEvent(\n    at venue: EnergyVenue,\n    guidanceToken: UUID,\n    stage: Int,\n    deviceID: String\n) async throws {\n    let session = ElectricHVACLoadEvent.Session(\n        id: UUID(),\n        state: .active,\n        guidanceState: ElectricHVACLoadEvent.Session.GuidanceState(\n            wasFollowingGuidance: true,\n            guidanceToken: guidanceToken\n        )\n    )\n\n    let measurement = ElectricHVACLoadEvent.ElectricalMeasurement(stage: stage)\n\n    let event = ElectricHVACLoadEvent(\n        timestamp: Date(),\n        measurement: measurement,\n        session: session,\n        deviceID: deviceID\n    )\n\n    try await venue.submitEvents([event])\n}\n```\n\n### Session States\n\n| State | When to Use |\n|---|---|\n| `.begin` | Device starts consuming electricity |\n| `.active` | Device is actively consuming (periodic updates) |\n| `.end` | Device stops consuming electricity |\n\n## Electricity Insights\n\nQuery historical energy and runtime data for devices using\n`ElectricityInsightService`.\n\n```swift\nfunc queryEnergyInsights(deviceID: String, venueID: UUID) async throws {\n    let query = ElectricityInsightQuery(\n        options: [.cleanliness, .tariff],\n        range: DateInterval(\n            start: Calendar.current.date(byAdding: .day, value: -7, to: Date())!,\n            end: Date()\n        ),\n        granularity: .daily,\n        flowDirection: .imported\n    )\n\n    let service = ElectricityInsightService.shared\n    let stream = try await service.energyInsights(\n        forDeviceID: deviceID, using: query, atVenue: venueID\n    )\n\n    for await record in stream {\n        if let total = record.totalEnergy { print(\"Total: \\(total)\") }\n        if let cleaner = record.dataByGridCleanliness?.cleaner {\n            print(\"Cleaner: \\(cleaner)\")\n        }\n    }\n}\n```\n\nUse `runtimeInsights(forDeviceID:using:atVenue:)` for runtime data instead\nof energy. Granularity options: `.hourly`, `.daily`, `.weekly`, `.monthly`,\n`.yearly`. See [references/energykit-patterns.md](references/energykit-patterns.md) for full insight examples.\n\n## Common Mistakes\n\n### DON'T: Forget the EnergyKit entitlement\n\nWithout the entitlement, all EnergyKit calls fail silently or throw errors.\n\n```swift\n// WRONG: No entitlement configured\nlet service = ElectricityGuidance.sharedService  // Will fail\n\n// CORRECT: Add com.apple.developer.energykit to entitlements\n// Then use the service\nlet service = ElectricityGuidance.sharedService\n```\n\n### DON'T: Ignore unsupported regions\n\nEnergyKit is not available in all regions. Handle the `.unsupportedRegion`\nand `.guidanceUnavailable` errors.\n\n```swift\n// WRONG: Assume guidance is always available\nfor try await guidance in service.guidance(using: query, at: venueID) {\n    updateUI(guidance)\n}\n\n// CORRECT: Handle region-specific errors\ndo {\n    for try await guidance in service.guidance(using: query, at: venueID) {\n        updateUI(guidance)\n    }\n} catch let error as EnergyKitError {\n    switch error {\n    case .unsupportedRegion:\n        showUnsupportedRegionMessage()\n    case .guidanceUnavailable:\n        showGuidanceUnavailableMessage()\n    case .venueUnavailable:\n        showNoVenueMessage()\n    case .permissionDenied:\n        showPermissionDeniedMessage()\n    case .serviceUnavailable:\n        retryLater()\n    case .rateLimitExceeded:\n        backOff()\n    default:\n        break\n    }\n}\n```\n\n### DON'T: Discard the guidance token\n\nThe `guidanceToken` links load events to the guidance that influenced them.\nAlways store and pass it through to load event submissions.\n\n```swift\n// WRONG: Ignore the guidance token\nfor try await guidance in guidanceStream {\n    startCharging()\n}\n\n// CORRECT: Store the token for load events\nfor try await guidance in guidanceStream {\n    let token = guidance.guidanceToken\n    startCharging(followingGuidanceToken: token)\n}\n```\n\n### DON'T: Submit load events without a session lifecycle\n\nAlways submit `.begin`, then `.active` updates, then `.end` events.\n\n```swift\n// WRONG: Only submit one event\nlet event = ElectricVehicleLoadEvent(/* state: .active */)\ntry await venue.submitEvents([event])\n\n// CORRECT: Full session lifecycle\ntry await venue.submitEvents([beginEvent])\n// ... periodic active events ...\ntry await venue.submitEvents([activeEvent])\n// ... when done ...\ntry await venue.submitEvents([endEvent])\n```\n\n### DON'T: Query guidance without a venue\n\nEnergyKit requires a venue ID. List venues first and select the appropriate one.\n\n```swift\n// WRONG: Use a hardcoded UUID\nlet fakeID = UUID()\nservice.guidance(using: query, at: fakeID)  // Will fail\n\n// CORRECT: Discover venues first\nlet venues = try await EnergyVenue.venues()\nguard let venue = venues.first else {\n    showNoVenueSetup()\n    return\n}\nlet guidanceStream = service.guidance(using: query, at: venue.id)\n```\n\n## Review Checklist\n\n- [ ] `com.apple.developer.energykit` entitlement added to the project\n- [ ] `EnergyKitError.unsupportedRegion` handled with user-facing message\n- [ ] `EnergyKitError.permissionDenied` handled gracefully\n- [ ] Guidance token stored and passed to load event submissions\n- [ ] Venues discovered via `EnergyVenue.venues()` before querying guidance\n- [ ] Load event sessions follow `.begin` -> `.active` -> `.end` lifecycle\n- [ ] `ElectricityGuidance.Value.rating` interpreted correctly (lower is better)\n- [ ] `SuggestedAction` matches the device type (`.shift` for EV, `.reduce` for HVAC)\n- [ ] Insight queries use appropriate granularity for the time range\n- [ ] Rate limiting handled via `EnergyKitError.rateLimitExceeded`\n- [ ] Service unavailability handled with retry logic\n\n## References\n\n- Extended patterns (full app architecture, SwiftUI dashboard): [references/energykit-patterns.md](references/energykit-patterns.md)\n- [EnergyKit framework](https://sosumi.ai/documentation/energykit)\n- [ElectricityGuidance](https://sosumi.ai/documentation/energykit/electricityguidance)\n- [ElectricityGuidance.Service](https://sosumi.ai/documentation/energykit/electricityguidance/service)\n- [ElectricityGuidance.Query](https://sosumi.ai/documentation/energykit/electricityguidance/query)\n- [ElectricityGuidance.Value](https://sosumi.ai/documentation/energykit/electricityguidance/value)\n- [EnergyVenue](https://sosumi.ai/documentation/energykit/energyvenue)\n- [ElectricVehicleLoadEvent](https://sosumi.ai/documentation/energykit/electricvehicleloadevent)\n- [ElectricHVACLoadEvent](https://sosumi.ai/documentation/energykit/electrichvacloadevent)\n- [ElectricityInsightService](https://sosumi.ai/documentation/energykit/electricityinsightservice)\n- [ElectricityInsightRecord](https://sosumi.ai/documentation/energykit/electricityinsightrecord)\n- [ElectricityInsightQuery](https://sosumi.ai/documentation/energykit/electricityinsightquery)\n- [EnergyKitError](https://sosumi.ai/documentation/energykit/energykiterror)\n- [Optimizing home electricity usage](https://sosumi.ai/documentation/energykit/optimizing-home-electricity-usage)","tags":["energykit","swift","ios","skills","dpearson2699"],"capabilities":["skill","source-dpearson2699","category-swift-ios-skills"],"categories":["swift-ios-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/dpearson2699/swift-ios-skills/energykit","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"install_from":"skills.sh"}},"qualityScore":"0.300","qualityRationale":"deterministic score 0.30 from registry signals: · indexed on skills.sh · published under dpearson2699/swift-ios-skills","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T03:40:34.029Z","embedding":null,"createdAt":"2026-04-18T20:34:44.881Z","updatedAt":"2026-04-22T03:40:34.029Z","lastSeenAt":"2026-04-22T03:40:34.029Z","tsv":"'-1.0':236 '-7':839 '/documentation/energykit)':1296 '/documentation/energykit/electrichvacloadevent)':1324 '/documentation/energykit/electricityguidance)':1300 '/documentation/energykit/electricityguidance/query)':1308 '/documentation/energykit/electricityguidance/service)':1304 '/documentation/energykit/electricityguidance/value)':1312 '/documentation/energykit/electricityinsightquery)':1336 '/documentation/energykit/electricityinsightrecord)':1332 '/documentation/energykit/electricityinsightservice)':1328 '/documentation/energykit/electricvehicleloadevent)':1320 '/documentation/energykit/energykiterror)':1340 '/documentation/energykit/energyvenue)':1316 '/documentation/energykit/optimizing-home-electricity-usage)':1347 '0':714 '0.0':235,400,426 '0.2':566 '0.3':468,527,542 '0.6':532,547 '0.rating':452,471 '1':160 '1.0':402,429 '1.rating':453 '2':182 '26':48,57,150,152 '4':563 '45':702 '6.3':46 '7.2':708 '8':560 'accord':43 'accuraci':668 'action':227,281,282 'activ':755,793,796,1103,1118,1132,1242 'activeev':1137 'ad':1207 'add':135,937 'align':500 'alway':971,1048,1099 'api':73 'app':37,139,168,201,1286 'appl':67 'appropri':1162,1265 'architectur':1287 'assum':968 'async':327,589,605,624,683,747,824 'atvenu':860,886 'avail':148,366,956,972 'avoid':551 'await':346,593,609,628,638,729,779,854,863,975,994,1066,1080,1120,1128,1135,1141,1187 'back':192,657 'background':564 'backoff':1028 'begin':691,788,1101,1241 'beginev':1130 'best':427,440 'bestchargingwindow':445 'beta':50 'beta-sensit':49 'better':406,1250 'bodi':489,553 'break':1030 'broken':270 'byad':836 'calendar.current.date':835 'call':920 'capabl':159 'capsul':570 'case':284,1011,1014,1017,1020,1023,1026 'catch':1004 'category-swift-ios-skills' 'chang':60 'charg':296,443 'charger':189,251,670 'cheaper':174 'check':65,360 'checklist':122,125,1204 'choos':16 'cleaner':28,172,876,878,880,881 'cleanli':830 'cleanliness/tariff':273 'clipshap':569 'color':523,524,568 'color.opacity':565 'com.apple.developer.energykit':133,938,1205 'common':116,119,907 'common-mistak':118 'concept':79,82,154 'configur':930 'consum':791,797,803 'consumpt':181,290,302,655 'contain':392 'content':75 'core':78,81,153 'core-concept':80 'correct':936,985,1071,1123,1180,1247 'current':66 'daili':845,896 'dashboard':1289 'data':210,220,269,279,373,656,812,889 'date':721,771,841,843 'dateinterv':833 'day':837 'default':1029 'detail':74 'devic':176,187,286,298,654,789,794,801,814,1254 'deviceid':681,726,727,745,776,777,820,857 'differ':293 'direct':703 'discard':1033 'discov':1181,1231 'display':473 'document':68 'done':1139 'doubl':467,521 'dpearson2699':7 'electr':11,20,32,84,88,111,114,161,170,308,410,792,804,805,1343 'electrichvacloadev':253,769,1321 'electrichvacloadevent.electricalmeasurement':764 'electrichvacloadevent.session':751 'electrichvacloadevent.session.guidancestate':757 'electricity-insight':113 'electricityguid':208,1297 'electricityguidance.query':221,331,1305 'electricityguidance.service':215,311,1301 'electricityguidance.sharedservice':336,933,947 'electricityguidance.value':228,391,415,448,449,465,469,487,1309 'electricityguidance.value.rating':1245 'electricityinsightqueri':274,828,1333 'electricityinsightrecord':266,1329 'electricityinsightservic':260,816,1325 'electricityinsightservice.shared':850 'electricvehicleloadev':246,719,1116,1317 'electricvehicleloadevent.electricalmeasurement':700 'electricvehicleloadevent.session':687 'electricvehicleloadevent.session.guidancestate':693 'els':1193 'enabl':36 'end':800,842,1106,1243 'endev':1143 'energi':99,102,244,268,571,581,711,809,892 'energy-venu':101 'energy/runtime':264 'energykit':1,8,21,52,130,146,155,322,481,913,919,953,1151,1292 'energykiterror':1008,1337 'energykiterror.permissiondenied':1218 'energykiterror.ratelimitexceeded':1275 'energykiterror.unsupportedregion':1211 'energyvenu':237,574,591,607,626,678,740,1313 'energyvenue.venue':610,629,639 'energyvenue.venues':594,1188,1233 'entitl':129,134,141,914,917,929,940,1206 'error':925,965,990,1006,1010 'ev':188,250,295,669,1258 'event':106,110,184,248,255,652,672,718,731,734,768,781,1041,1056,1077,1094,1107,1113,1115,1122,1133,1228,1238 'exampl':906 'expens':31 'extend':1283 'face':1216 'fail':921,935,1179 'fair':549 'fakeid':1171,1177 'file':142 'find':438,454 'first':1158,1183 'flowdirect':846 'follow':202,1240 'followingguidancetoken':1088 'fordeviceid':856,884 'forecast':12,166,209,315 'foregroundstyl':510,567 'forget':911 'framework':1293 'full':904,1124,1285 'func':323,412,444,461,587,601,620,674,736,818 'futur':666 'get':313,595,613 'getvenu':602 'getvenueforhom':621 'gm':62 'good':456,544 'goodwindow':462 'grace':1220 'granular':844,893,1266 'green':529 'grid':10,35 'guard':1189 'guidanc':85,89,92,97,162,203,219,309,347,351,388,474,667,969,976,984,995,1003,1035,1044,1062,1067,1081,1147,1221,1236 'guidance.energyvenueid':359 'guidance.guidancetoken':353,1086 'guidance.interval':356 'guidance.options.contains':368,376 'guidance.values':385 'guidanceincorporatesrateplan':369 'guidancest':692,756 'guidancestream':338,349,1069,1083,1197 'guidancetimelineview':483 'guidancetoken':679,696,697,741,760,761,1038 'guidanceunavail':964,1015 'handl':960,986,1212,1219,1273,1278 'hardcod':1168 'help':14,662 'histor':267,277,808 'home':241,619,1342 'homeid':622,631 'homekit':618 'horizont':559 'hour':895 'hstack':498 'hvac':190,257,305,732,1261 'id':494,600,603,612,644,688,752,1155 'identifi':22 'ignor':950,1060 'import':143,145,321,478,480,704,847 'improv':665 'incorpor':374 'indic':405 'influenc':1046 'inform':364 'insight':112,115,265,278,806,905,1262 'instead':890 'int':744 'interfac':216 'interpret':1246 'interv':214,231,355,395,421 'interval.end':435 'interval.start':433,495 'io':3,47,56,149 'ipado':151 'key':204 'kilowatt':710 'kilowatthour':716 'label':538,557 'lead':501 'less':30 'let':329,334,337,420,423,485,519,635,685,698,717,749,762,767,826,848,851,868,875,931,945,1005,1084,1114,1170,1184,1190,1196 'lifecycl':1098,1126,1244 'limit':1272 'link':1039 'list':492,584,1156 'listvenu':588 'load':42,105,109,183,247,254,651,671,733,1040,1055,1076,1093,1227,1237 'locat':240,379,578 'locationhasrateplan':377 'logic':1281 'lower':301,403,1248 'main':158 'manag':245,582 'match':616,1252 'matchinghomeuniqueidentifi':630 'may':59 'measur':699,706,712,722,723,763,772,773 'messag':1217 'mistak':117,120,908 'month':898 'move':289 'name':648 'new':54 'observeguid':324 'obtain':218 'one':1112,1163 'optim':1341 'option':829,894 'pad':558,561 'pass':1051,1225 'pattern':1284 'period':798,1131 'permissiondeni':1021 'physic':239,577 'plan':363,372,383 'platform':147 'power':705 'print':350,354,357,370,378,431,642,646,871,879 'processguidancevalu':384,413 'project':1210 'properti':633 'provid':9,156 'queri':83,87,222,263,275,307,330,341,807,827,859,980,999,1146,1175,1200,1235,1263 'queryenergyinsight':819 'querying-electricity-guid':86 'rang':832,1270 'rate':234,362,371,382,398,404,424,436,437,514,520,526,531,541,546,1271 'ratelimitexceed':1027 'ratingind':513,517 're':64 're-check':63 'record':864 'record.databygridcleanliness':877 'record.totalenergy':870 'red':536 'reduc':41,180,226,297,1259 'refer':126,127,1282 'references/energykit-patterns.md':901,902,1290,1291 'region':952,959,988 'region-specif':987 'regist':242,579 'relat':27 'reli':70 'report':653 'repres':575 'requir':131,1152 'retri':1280 'retrylat':1025 'return':528,533,535,543,548,550,1195 'review':121,124,1203 'review-checklist':123 'role':207 'runtim':811,888 'runtimeinsight':883 'secondari':511 'see':900 'select':1160 'sensit':51 'servic':261,335,849,932,944,946,1276 'service.energyinsights':855 'service.guidance':339,978,997,1173,1198 'serviceunavail':1024 'session':686,724,725,750,774,775,782,1097,1125,1239 'setback':306 'setup':76,77,128 'shift':39,178,224,285,333,1256 'showguidanceunavailablemessag':1016 'shownovenuemessag':1019 'shownovenuesetup':1194 'showpermissiondeniedmessag':1022 'showunsupportedregionmessag':1013 'silent':922 'skill':4,5 'sosumi.ai':1295,1299,1303,1307,1311,1315,1319,1323,1327,1331,1335,1339,1346 'sosumi.ai/documentation/energykit)':1294 'sosumi.ai/documentation/energykit/electrichvacloadevent)':1322 'sosumi.ai/documentation/energykit/electricityguidance)':1298 'sosumi.ai/documentation/energykit/electricityguidance/query)':1306 'sosumi.ai/documentation/energykit/electricityguidance/service)':1302 'sosumi.ai/documentation/energykit/electricityguidance/value)':1310 'sosumi.ai/documentation/energykit/electricityinsightquery)':1334 'sosumi.ai/documentation/energykit/electricityinsightrecord)':1330 'sosumi.ai/documentation/energykit/electricityinsightservice)':1326 'sosumi.ai/documentation/energykit/electricvehicleloadevent)':1318 'sosumi.ai/documentation/energykit/energykiterror)':1338 'sosumi.ai/documentation/energykit/energyvenue)':1314 'sosumi.ai/documentation/energykit/optimizing-home-electricity-usage)':1345 'source-dpearson2699' 'spacer':512 'specif':72,597,989 'specifi':223 'stage':743,765,766 'start':790,834 'startcharg':1070,1087 'state':690,754,783,784,1117 'stateofcharg':701 'stop':304,802 'store':1049,1072,1223 'stream':316,852,866 'string':539,682,746,821 'struct':482,516 'style':504,508 'submiss':1057,1229 'submit':104,108,191,650,1092,1100,1111 'submitevchargingev':675 'submithvacev':737 'submitting-load-ev':107 'suggest':280 'suggestedact':332,1251 'swift':2,45,144,320,411,477,583,634,673,735,817,926,966,1058,1108,1164 'swiftui':476,479,1288 'switch':1009 'system':195,258,660,664 'target':44 'tariff':831 'telemetri':185,252,259 'tell':167 'text':502,506,556 'threshold':460,466,472 'throw':328,590,606,625,684,748,825,924 'time':23,164,213,230,294,394,407,441,505,509,1269 'time-weight':163 'timestamp':720,770 'token':352,1036,1063,1074,1085,1089,1222 'total':869,872,873 'track':197 'tri':345,592,608,627,637,728,778,853,974,993,1065,1079,1119,1127,1134,1140,1186 'true':695,759 'two':157 'type':205,206,1255 'unavail':1277 'unit':709,715 'unsupport':951 'unsupportedregion':962,1012 'updat':799,1104 'updateui':983,1002 'usag':1344 'use':19,283,310,340,409,787,815,858,882,885,942,979,998,1166,1174,1199,1264 'user':15,1215 'user-fac':1214 'uuid':326,604,623,680,689,742,753,823,1169,1172 'valu':93,98,389,414,417,419,447,464,486,493,496,707,713,838 'value.interval':422 'value.interval.end':507 'value.interval.start':503 'value.rating':425,515 'values.filter':470 'values.min':450 'var':488,522,537,552 'venu':100,103,319,358,572,586,598,615,632,636,643,647,677,739,1150,1154,1157,1182,1185,1191,1230 'venue.id':645,1202 'venue.name':649 'venue.submitevents':730,780,1121,1129,1136,1142 'venueid':325,343,641,822,861,982,1001 'venues.first':1192 'venueunavail':1018 'vertic':562 'via':1232,1274 'view':484,491,518,555 'vstack':499 'wasfollowingguid':694,758 'week':897 'weight':165,212 'well':199 'window':457 'without':303,915,1095,1148 'work':90,95,386 'working-with-guidance-valu':94 'worst':430 'wrong':927,967,1059,1109,1165 'year':899 'yellow':534","prices":[{"id":"b224c935-2539-46eb-b393-748a71f95dbb","listingId":"1d4abba4-1812-46d2-a6b7-afba211cf1d6","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"dpearson2699","category":"swift-ios-skills","install_from":"skills.sh"},"createdAt":"2026-04-18T20:34:44.881Z"}],"sources":[{"listingId":"1d4abba4-1812-46d2-a6b7-afba211cf1d6","source":"github","sourceId":"dpearson2699/swift-ios-skills/energykit","sourceUrl":"https://github.com/dpearson2699/swift-ios-skills/tree/main/skills/energykit","isPrimary":false,"firstSeenAt":"2026-04-18T22:00:58.014Z","lastSeenAt":"2026-04-22T00:53:42.810Z"},{"listingId":"1d4abba4-1812-46d2-a6b7-afba211cf1d6","source":"skills_sh","sourceId":"dpearson2699/swift-ios-skills/energykit","sourceUrl":"https://skills.sh/dpearson2699/swift-ios-skills/energykit","isPrimary":true,"firstSeenAt":"2026-04-18T20:34:44.881Z","lastSeenAt":"2026-04-22T03:40:34.029Z"}],"details":{"listingId":"1d4abba4-1812-46d2-a6b7-afba211cf1d6","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"dpearson2699","slug":"energykit","source":"skills_sh","category":"swift-ios-skills","skills_sh_url":"https://skills.sh/dpearson2699/swift-ios-skills/energykit"},"updatedAt":"2026-04-22T03:40:34.029Z"}}