
Energykit
Helps you build apps that shift power usage to times when electricity is cleaner or cheaper by querying grid forecasts from Apple's new EnergyKit framework. You get time-weighted ratings (0.0 to 1.0) for upcoming intervals and can submit load events back so the system learns from your EV charger or HVAC behavior. The guidance stream updates continuously and can incorporate rate plan data if available at the venue. Targets iOS 26+, still in beta, so API details may shift before GM. Worth exploring now if you're building smart home controls or energy dashboards that need to optimize when devices pull power from the grid.
- skills.sh installs
- 3.7K
- GitHub stars
- 1.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add dpearson2699/swift-ios-skills --skill energykit --agent claude-codeInstalls into .claude/skills of the current project.
Files
EnergyKit
Use grid cleanliness and cost guidance to shift or reduce managed-device load. For managed-device insights, submit the device's real load events promptly.
Beta-sensitive. Core EnergyKit ships in iOS/iPadOS 26. The iOS/iPadOS 27
ElectricalLoadDeviceand Home-facing LoadEvents experience are beta; re-check current Apple documentation before relying on those APIs.
Contents
- Setup
- Core Concepts
- Querying Electricity Guidance
- Working with Guidance Values
- Energy Venues
- Submitting Load Events
- Electricity Insights
- Common Mistakes
- Review Checklist
- References
Setup
Entitlements and Version Split
| Runtime | Load-event device API | Capabilities |
|---|---|---|
| iOS/iPadOS 26.x | deviceID: compatibility initializer | EnergyKit |
| iOS/iPadOS 27+ beta | ElectricalLoadDevice with the device: initializer | EnergyKit; add EnergyKit LoadEvents for Home app integration |
Sponsors
Details
- Repository
- github.com/dpearson2699/swift-ios-skills
- Categories
- Documentation, Mobile Development
- First seen
- Apr 16, 2026
More from dpearson2699/swift-ios-skills
All 98- Shareplay Activities3.7K
- Weatherkit3.6K
- Activitykit3.5K
- Cloudkit3.5K
- Photokit3.4K
- Mapkit3.4K
- Swiftui Webkit3.4K
- Realitykit3.4K
- Avkit3.4K
- Spritekit3.3K
- Cryptokit3.3K
- Metrickit3.3K
- Pdfkit3.3K
- Gamekit3.3K
- Eventkit3.3K
- Musickit3.3K
- Swift Architecture3.3K
- Pencilkit3.3K
- Carplay3.2K
- Ios Simulator3.2K
- Scenekit3.2K
- Homekit3.2K
- Accessorysetupkit3.2K
- Callkit3.2K