<!--
{
  "availability" : [
    "iOS: 27.2.0 -",
    "iPadOS: 27.2.0 -",
    "macCatalyst: 27.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HomeExtensions",
  "identifier" : "/documentation/HomeExtensions/HomeAccessoryInformationSetting/init(id:label:value:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "HomeExtensions"
    ],
    "preciseIdentifier" : "s:14HomeExtensions0A27AccessoryInformationSettingC2id5label5valueACSS_AA0acE5LabelVSSSgtcfc"
  },
  "title" : "init(id:label:value:)"
}
-->

# init(id:label:value:)

Creates an information setting.

```
init(id: String, label: HomeAccessorySettingLabel, value: String? = nil)
```

## Parameters

`id`

A unique identifier for the setting.

`label`

The setting’s label.

`value`

The setting’s value.

---

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)