---
title: "readAttributePIRUnoccupiedToOccupiedThreshold(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusteroccupancysensing/readattributepirunoccupiedtooccupiedthreshold(completion:)"
---

# readAttributePIRUnoccupiedToOccupiedThreshold(completion:)

## Declaration

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

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