readAttributeCurrentState(completion:)

Declaration

func readAttributeCurrentState(completion: @escaping  @Sendable (NSNumber?, (any Error)?) -> Void)
func readAttributeCurrentState() async throws -> NSNumber