New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Apple's EnergyKit framework for querying grid cleanliness forecasts and submitting managed-device load events in smart home apps.

skills.sh installs
3.8K
GitHub stars
1.3K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers electricity guidance queries, guidance value ratings, energy venue lookup, load event submission, and electricity insights
  • Includes ElectricityGuidance.Service, EnergyVenue, ElectricVehicleLoadEvent, and ElectricHVACLoadEvent types with Swift examples and SwiftUI rating views
  • Enforces that load events are submitted by the same device or app that requested guidance, using the returned guidance token
  • Designed for iOS and iPadOS developers building EV charger controls, HVAC scheduling, or energy dashboards, with iOS 27 beta caveats

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill energykit -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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 ElectricalLoadDevice and Home-facing LoadEvents experience are beta; re-check current Apple documentation before relying on those APIs.

Contents

Setup

Entitlements and Version Split

RuntimeLoad-event device APICapabilities
iOS/iPadOS 26.xdeviceID: compatibility initializerEnergyKit
iOS/iPadOS 27+ betaElectricalLoadDevice with the device: initializerEnergyKit; add EnergyKit LoadEvents for Home app integration

Details

Repository
github.com/dpearson2699/swift-ios-skills
Category
Mobile Apps
First seen
Apr 16, 2026

More from dpearson2699/swift-ios-skills

All 94

Similar to Energykit

More Mobile Apps