---
title: "readAttributeTargetState(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustervalveconfigurationandcontrol/readattributetargetstate(completion:)"
---

# readAttributeTargetState(completion:)

## Declaration

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

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