---
title: "MTRAttributeNameForID(_:_:)"
framework: matter
role: symbol
role_heading: Function
path: "matter/mtrattributenameforid(_:_:)"
---

# MTRAttributeNameForID(_:_:)

## Declaration

```swift
func MTRAttributeNameForID(_ clusterID: MTRClusterIDType, _ attributeID: MTRAttributeIDType) -> String!
```
