---
title: "readAttributeLightSensorType(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterilluminancemeasurement/readattributelightsensortype(completion:)"
---

# readAttributeLightSensorType(completion:)

## Declaration

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

```swift
func readAttributeLightSensorType() async throws -> NSNumber
```
