<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "EnergyKit",
  "identifier" : "/documentation/EnergyKit/EnergyVenue",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "EnergyKit"
    ],
    "preciseIdentifier" : "s:9EnergyKit0A5VenueV"
  },
  "title" : "EnergyVenue"
}
-->

# EnergyVenue

A physical site that uses or produces electricity at that location.

```
struct EnergyVenue
```

## Topics

### Returning electricity sites

[`static func venue(for: UUID) async throws -> EnergyVenue`](/documentation/EnergyKit/EnergyVenue/venue(for:))

Returns an electricity venue for the given venue identifier.

[`static func venue(matchingHomeUniqueIdentifier: UUID) async throws -> EnergyVenue`](/documentation/EnergyKit/EnergyVenue/venue(matchingHomeUniqueIdentifier:))

Returns an energy venue for the given HomeKit identifier.

### Submitting load events

[`func submitEvents<Event>([Event]) async throws`](/documentation/EnergyKit/EnergyVenue/submitEvents(_:))

Submits electrical load events to be used by EnergyKit to generate energy insights.

### Identifying the location

[`let id: UUID`](/documentation/EnergyKit/EnergyVenue/id)

A unique identifier for the venue.

[`let name: String`](/documentation/EnergyKit/EnergyVenue/name)

The name of the Home to which the venue corresponds.

### Decoding

### Type Methods

[`static func venues() async throws -> [EnergyVenue]`](/documentation/EnergyKit/EnergyVenue/venues())

Returns a list of electricity venues.

## Relationships

### Conforms To

[`Identifiable`](/documentation/Swift/Identifiable)

[`Decodable`](/documentation/Swift/Decodable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Encodable`](/documentation/Swift/Encodable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)