---
title: "readAttributeStateValue(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterbooleanstate/readattributestatevalue(completion:)"
---

# readAttributeStateValue(completion:)

## Declaration

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

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