← ClaudeAtlas

energykitlisted

Query grid electricity forecasts and submit load events using EnergyKit to help users optimize home electricity usage. Use when building smart home apps, EV charger controls, HVAC scheduling, or energy management dashboards that guide users to use power during cleaner or cheaper grid periods.
dpearson2699/swift-ios-skills · ★ 730 · AI & Automation · score 80
Install: claude install-skill dpearson2699/swift-ios-skills
# EnergyKit Provide grid electricity forecasts to help users choose when to use electricity. EnergyKit identifies times when there is relatively cleaner or less expensive electricity on the grid, enabling apps to shift or reduce load accordingly. Targets Swift 6.3 / iOS 26+. > **Beta-sensitive.** EnergyKit is new in iOS 26 and may change before GM. > Re-check current Apple documentation before relying on specific API details. ## Contents - [Setup](#setup) - [Core Concepts](#core-concepts) - [Querying Electricity Guidance](#querying-electricity-guidance) - [Working with Guidance Values](#working-with-guidance-values) - [Energy Venues](#energy-venues) - [Submitting Load Events](#submitting-load-events) - [Electricity Insights](#electricity-insights) - [Common Mistakes](#common-mistakes) - [Review Checklist](#review-checklist) - [References](#references) ## Setup ### Entitlement EnergyKit requires the `com.apple.developer.energykit` entitlement. Add it to your app's entitlements file. ### Import ```swift import EnergyKit ``` **Platform availability:** iOS 26+, iPadOS 26+. ## Core Concepts EnergyKit provides two main capabilities: 1. **Electricity Guidance** -- time-weighted forecasts telling apps when electricity is cleaner or cheaper, so devices can shift or reduce consumption 2. **Load Events** -- telemetry from devices (EV chargers, HVAC) submitted back to the system to track how well the app follows guidance ### Key Types | Type | Role | |---|---| | `Ele