---
title: "readAttributeLampType(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterballastconfiguration/readattributelamptype(completion:)"
---

# readAttributeLampType(completion:)

## Declaration

```swift
func readAttributeLampType(completion: @escaping @Sendable (String?, (any Error)?) -> Void)
```

```swift
func readAttributeLampType() async throws -> String
```
