---
title: "readAttributeRMSVoltage(withClusterStateCache:endpoint:queue:completion:)"
framework: matter
role: symbol
role_heading: Type Method
path: "matter/mtrbaseclusterelectricalpowermeasurement/readattributermsvoltage(withclusterstatecache:endpoint:queue:completion:)"
---

# readAttributeRMSVoltage(withClusterStateCache:endpoint:queue:completion:)

## Declaration

```swift
class func readAttributeRMSVoltage(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t, completion: @escaping @Sendable (NSNumber?, (any Error)?) -> Void)
```

```swift
class func readAttributeRMSVoltage(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
```
