---
title: zones
framework: homekit
role: symbol
role_heading: Instance Property
path: homekit/hmhome/zones
---

# zones

An array of all the zones in the home.

## Declaration

```swift
var zones: [HMZone] { get }
```

## See Also

### Grouping rooms into zones

- [addZone(withName:completionHandler:)](homekit/hmhome/addzone(withname:completionhandler:).md)
- [removeZone(_:completionHandler:)](homekit/hmhome/removezone(_:completionhandler:).md)
- [HMZone](homekit/hmzone.md)
