<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "EnergyKit",
  "identifier" : "/documentation/EnergyKit/ElectricalLoadDevice/init(id:name:type:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "EnergyKit"
    ],
    "preciseIdentifier" : "s:9EnergyKit20ElectricalLoadDeviceV2id4name4typeACSS_SSAC0E4TypeOtcfc"
  },
  "title" : "init(id:name:type:)"
}
-->

# init(id:name:type:)

Initializes an electrical load device identifier.

```
init(id: String, name: String, type: ElectricalLoadDevice.DeviceType)
```

## Parameters

`id`

The device’s unique, stable identifier.

`name`

A human-readable device name.

`type`

The type of electrical load device.

---

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)