---
title: name
framework: homekit
role: symbol
role_heading: Instance Property
path: homekit/hmservicegroup/name
---

# name

The name of the service group.

## Declaration

```swift
var name: String { get }
```

## Discussion

Discussion Service group names must be unique within a home.

## See Also

### Related Documentation

- [HomeKit Developer Guide](apple-archive/documentation/NetworkingInternet/Conceptual/HomeKitDeveloperGuide/Introduction.md)

### Managing Service Groups

- [uniqueIdentifier](homekit/hmservicegroup/uniqueidentifier.md)
- [updateName(_:completionHandler:)](homekit/hmservicegroup/updatename(_:completionhandler:).md)
- [services](homekit/hmservicegroup/services.md)
- [addService(_:completionHandler:)](homekit/hmservicegroup/addservice(_:completionhandler:).md)
- [removeService(_:completionHandler:)](homekit/hmservicegroup/removeservice(_:completionhandler:).md)
